framework/source/uifactory/uielementfactorymanager.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
New commits: commit 4bb148e74495b02f65483bd460cab762114177ea Author: irem <iremsend...@gmail.com> Date: Tue Feb 2 17:28:32 2016 +0200 tdf#57950 Replace chained O(U)StringBuffer::append() with operator+ Change-Id: I6e428222bfb3045b6a379716586aa5e37a3cae35 Reviewed-on: https://gerrit.libreoffice.org/22052 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noelgran...@gmail.com> diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx index 23c68f8..dea4253 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 ) : _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits