diff options
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/roadmapentry.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 56c3f19b1a6e..5fd1fb7150f6 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -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 ) { diff --git a/toolkit/source/controls/roadmapentry.cxx b/toolkit/source/controls/roadmapentry.cxx index e385ab529e87..ef93f3067e0f 100644 --- a/toolkit/source/controls/roadmapentry.cxx +++ b/toolkit/source/controls/roadmapentry.cxx @@ -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() ); |