Kaydet (Commit) da7aa014 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)

Change-Id: I66e781286bb3b03b4e872d8ad13a23bb5bf6db8a
üst 8fb415a8
......@@ -800,7 +800,7 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
if ( aServiceName == "tabcontrolnotabs" )
{
nWinBits |= WB_NOBORDER;
nType = ImplGetComponentType( OUString( "tabcontrol" ) );
nType = ImplGetComponentType( "tabcontrol" );
}
if ( !pParent )
{
......
......@@ -28,22 +28,22 @@ ORoadmapEntry::ORoadmapEntry() : ORoadmapEntry_Base( )
{
// registerProperty or registerMayBeVoidProperty or registerPropertyNoMember
registerProperty( OUString("Label"), RM_PROPERTY_ID_LABEL,
registerProperty( "Label", RM_PROPERTY_ID_LABEL,
::com::sun::star::beans::PropertyAttribute::BOUND |
::com::sun::star::beans::PropertyAttribute::CONSTRAINED,
& m_sLabel, cppu::UnoType<decltype(m_sLabel)>::get() );
m_nID = -1;
registerProperty( OUString("ID"), RM_PROPERTY_ID_ID,
registerProperty( "ID", RM_PROPERTY_ID_ID,
::com::sun::star::beans::PropertyAttribute::BOUND |
::com::sun::star::beans::PropertyAttribute::CONSTRAINED,
& m_nID, cppu::UnoType<decltype(m_nID)>::get() );
m_bEnabled = true;
registerProperty( OUString("Enabled"), RM_PROPERTY_ID_ENABLED,
registerProperty( "Enabled", RM_PROPERTY_ID_ENABLED,
::com::sun::star::beans::PropertyAttribute::BOUND |
::com::sun::star::beans::PropertyAttribute::MAYBEDEFAULT,
& m_bEnabled, cppu::UnoType<decltype(m_bEnabled)>::get() );
registerProperty( OUString("Interactive"), RM_PROPERTY_ID_INTERACTIVE,
registerProperty( "Interactive", RM_PROPERTY_ID_INTERACTIVE,
::com::sun::star::beans::PropertyAttribute::BOUND |
::com::sun::star::beans::PropertyAttribute::MAYBEDEFAULT,
& m_bInteractive, cppu::UnoType<decltype(m_bInteractive)>::get() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment