summaryrefslogtreecommitdiff
path: root/framework/source/uielement/statusbarmanager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-15 11:05:19 +0200
committerNoel Grandin <noel@peralex.com>2013-11-19 10:29:31 +0200
commit610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch)
tree6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /framework/source/uielement/statusbarmanager.cxx
parent2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff)
remove unnecessary use of OUString constructor when assigning
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
Diffstat (limited to 'framework/source/uielement/statusbarmanager.cxx')
-rw-r--r--framework/source/uielement/statusbarmanager.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/uielement/statusbarmanager.cxx b/framework/source/uielement/statusbarmanager.cxx
index da44a22d4e8c..587c85d0eca2 100644
--- a/framework/source/uielement/statusbarmanager.cxx
+++ b/framework/source/uielement/statusbarmanager.cxx
@@ -336,29 +336,29 @@ void StatusBarManager::CreateControllers()
aPropValue.Value <<= aCommandURL;
aPropVector.push_back( uno::makeAny( aPropValue ) );
- aPropValue.Name = OUString( "ModuleIdentifier" );
+ aPropValue.Name = "ModuleIdentifier";
aPropValue.Value <<= m_aModuleIdentifier;
aPropVector.push_back( uno::makeAny( aPropValue ) );
- aPropValue.Name = OUString( "Frame" );
+ aPropValue.Name = "Frame";
aPropValue.Value <<= m_xFrame;
aPropVector.push_back( uno::makeAny( aPropValue ) );
// TODO remove this
- aPropValue.Name = OUString( "ServiceManager" );
+ aPropValue.Name = "ServiceManager";
aPropValue.Value = uno::makeAny( uno::Reference<lang::XMultiServiceFactory>(m_xContext->getServiceManager(), uno::UNO_QUERY_THROW) );
aPropVector.push_back( uno::makeAny( aPropValue ) );
- aPropValue.Name = OUString( "ParentWindow" );
+ aPropValue.Name = "ParentWindow";
aPropValue.Value <<= xStatusbarWindow;
aPropVector.push_back( uno::makeAny( aPropValue ) );
// TODO still needing with the css::ui::XStatusbarItem?
- aPropValue.Name = OUString( "Identifier" );
+ aPropValue.Name = "Identifier";
aPropValue.Value <<= nId;
aPropVector.push_back( uno::makeAny( aPropValue ) );
- aPropValue.Name = OUString( "StatusbarItem" );
+ aPropValue.Name = "StatusbarItem";
aPropValue.Value <<= xStatusbarItem;
aPropVector.push_back( uno::makeAny( aPropValue ) );