diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/formcomponenthandler.cxx | 4 | ||||
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index 166e6989cd0b..186853dfd355 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -2148,8 +2148,8 @@ namespace pcr for ( sal_Int32 i = 0; i < nKnownControlTypes; ++i ) { - OUString sServiceName( "com.sun.star.awt." ); - sServiceName += OUString::createFromAscii( aControlModelServiceNames[ i ] ); + OUString sServiceName = "com.sun.star.awt." + + OUString::createFromAscii( aControlModelServiceNames[ i ] ); if ( xServiceInfo->supportsService( sServiceName ) ) { diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index e416e8cdea95..cc196ce7d180 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -118,8 +118,8 @@ OUString getImageFromFileName(const OUString& aFile) sal_uInt32 lastIndex = aUnpackPath.lastIndexOf('/'); if ( lastIndex > 0 ) { - aUnpackPath = aUnpackPath.copy( 0, lastIndex+1 ); - aUnpackPath += "unpack_update"; + aUnpackPath = aUnpackPath.copy( 0, lastIndex+1 ) + + "unpack_update"; } oslFileHandle hOut = nullptr; |