summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/partwnd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/partwnd.cxx')
-rw-r--r--sfx2/source/dialog/partwnd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/partwnd.cxx b/sfx2/source/dialog/partwnd.cxx
index b63e28a53006..173d44f3bb89 100644
--- a/sfx2/source/dialog/partwnd.cxx
+++ b/sfx2/source/dialog/partwnd.cxx
@@ -114,13 +114,13 @@ SfxPartDockWnd_Impl::SfxPartDockWnd_Impl
xFrame, ::com::sun::star::uno::UNO_QUERY );
try
{
- const ::rtl::OUString aLayoutManager( RTL_CONSTASCII_USTRINGPARAM( "LayoutManager" ));
+ const ::rtl::OUString aLayoutManager( "LayoutManager" );
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xLMPropSet;
::com::sun::star::uno::Any a = xPropSet->getPropertyValue( aLayoutManager );
if ( a >>= xLMPropSet )
{
- const ::rtl::OUString aAutomaticToolbars( RTL_CONSTASCII_USTRINGPARAM( "AutomaticToolbars" ));
+ const ::rtl::OUString aAutomaticToolbars( "AutomaticToolbars" );
xLMPropSet->setPropertyValue( aAutomaticToolbars, ::com::sun::star::uno::Any( sal_False ));
}
}