summaryrefslogtreecommitdiff
path: root/framework/source/uiconfiguration/windowstateconfiguration.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/uiconfiguration/windowstateconfiguration.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/uiconfiguration/windowstateconfiguration.cxx')
-rw-r--r--framework/source/uiconfiguration/windowstateconfiguration.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx
index cad090bd4748..baca1f567f93 100644
--- a/framework/source/uiconfiguration/windowstateconfiguration.cxx
+++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx
@@ -256,7 +256,7 @@ ConfigurationAccess_WindowState::ConfigurationAccess_WindowState( const OUString
{
// Create configuration hierachical access name
m_aConfigWindowAccess += aModuleName;
- m_aConfigWindowAccess += OUString( CONFIGURATION_WINDOWSTATE_ACCESS );
+ m_aConfigWindowAccess += CONFIGURATION_WINDOWSTATE_ACCESS;
m_xConfigProvider = theDefaultProvider::get( rxContext );
// Initialize access array with property names.
@@ -1261,10 +1261,10 @@ sal_Bool ConfigurationAccess_WindowState::impl_initializeConfigAccess()
try
{
- aPropValue.Name = OUString( "nodepath" );
+ aPropValue.Name = "nodepath";
aPropValue.Value <<= m_aConfigWindowAccess;
aArgs[0] <<= aPropValue;
- aPropValue.Name = OUString( "lazywrite" );
+ aPropValue.Name = "lazywrite";
aPropValue.Value <<= sal_True;
aArgs[1] <<= aPropValue;