From 647d7b0cd52603769c8d9ee15f0556291adb63c4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 26 Jun 2015 13:54:25 +0200 Subject: loplugin:stringconstant: handle OUString+=OUString(literal) Change-Id: I6e534537883ef76db88926203bf21b6d0be0aab1 --- ucbhelper/source/provider/providerhelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ucbhelper') diff --git a/ucbhelper/source/provider/providerhelper.cxx b/ucbhelper/source/provider/providerhelper.cxx index 67357d687ddd..7385d9b86719 100644 --- a/ucbhelper/source/provider/providerhelper.cxx +++ b/ucbhelper/source/provider/providerhelper.cxx @@ -306,7 +306,7 @@ bool ContentProviderImplHelper::renameAdditionalPropertySet( OUString aOldKeyWithoutSlash; if ( !aOldKeyWithSlash.endsWith("/") ) { - aOldKeyWithSlash += OUString( '/' ); + aOldKeyWithSlash += "/"; aOldKeyWithoutSlash = rOldKey; } else if ( !rOldKey.isEmpty() ) @@ -390,7 +390,7 @@ bool ContentProviderImplHelper::copyAdditionalPropertySet( OUString aSrcKeyWithoutSlash; if ( !aSrcKeyWithSlash.endsWith("/") ) { - aSrcKeyWithSlash += OUString( '/' ); + aSrcKeyWithSlash += "/"; aSrcKeyWithoutSlash = rSourceKey; } else if ( !rSourceKey.isEmpty() ) @@ -526,7 +526,7 @@ bool ContentProviderImplHelper::removeAdditionalPropertySet( OUString aKeyWithoutSlash; if ( !aKeyWithSlash.endsWith("/") ) { - aKeyWithSlash += OUString( '/' ); + aKeyWithSlash += "/"; aKeyWithoutSlash = rKey; } else if ( !rKey.isEmpty() ) -- cgit