summaryrefslogtreecommitdiff
path: root/framework/source/layoutmanager/toolbarlayoutmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/layoutmanager/toolbarlayoutmanager.cxx')
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 4491671f34a5..670c2a4f2f0b 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -1596,7 +1596,7 @@ void ToolbarLayoutManager::implts_writeWindowStateData( const UIElement& rElemen
try
{
// Check persistent flag of the user interface element
- xPropSet->getPropertyValue( OUString( "Persistent" )) >>= bPersistent;
+ xPropSet->getPropertyValue("Persistent") >>= bPersistent;
}
catch (const beans::UnknownPropertyException&)
{
@@ -3888,7 +3888,7 @@ throw (uno::RuntimeException)
xPropSet = uno::Reference< beans::XPropertySet >( xCfgMgr->getSettings( rEvent.ResourceURL, sal_False ), uno::UNO_QUERY );
if ( xPropSet.is() )
- xPropSet->getPropertyValue( OUString( "UIName" )) >>= aUIName;
+ xPropSet->getPropertyValue("UIName") >>= aUIName;
}
catch (const container::NoSuchElementException&)
{