summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorirem <iremsendur1@gmail.com>2016-02-02 17:28:32 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-20 18:23:39 +0000
commit4bb148e74495b02f65483bd460cab762114177ea (patch)
tree0ba51e94919c1860112163c00c58c08b1cd55ab5 /framework
parent5101743e62980a1f6e1212116d20bbfaf9e86149 (diff)
tdf#57950 Replace chained O(U)StringBuffer::append() with operator+
Change-Id: I6e428222bfb3045b6a379716586aa5e37a3cae35 Reviewed-on: https://gerrit.libreoffice.org/22052 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uifactory/uielementfactorymanager.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx
index 23c68f8c7745..dea425323d5a 100644
--- a/framework/source/uifactory/uielementfactorymanager.cxx
+++ b/framework/source/uifactory/uielementfactorymanager.cxx
@@ -56,12 +56,7 @@ namespace framework
// global function needed by both implementations
static OUString getHashKeyFromStrings( const OUString& aType, const OUString& aName, const OUString& aModuleName )
{
- OUStringBuffer aKey( aType );
- aKey.append( "^" );
- aKey.append( aName );
- aKey.append( "^" );
- aKey.append( aModuleName );
- return aKey.makeStringAndClear();
+ return aType + "^" + aName + "^" + aModuleName;
}
ConfigurationAccess_FactoryManager::ConfigurationAccess_FactoryManager( const Reference< XComponentContext >& rxContext, const OUString& _sRoot ) :