diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:54:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:55:35 +0200 |
commit | 647d7b0cd52603769c8d9ee15f0556291adb63c4 (patch) | |
tree | a7cf42e2063a11dd2d0a60bf29990af6f81d7325 /ucbhelper/source | |
parent | 523ce254a816be02acb7b5fe7ed99f60fef2e7c2 (diff) |
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: I6e534537883ef76db88926203bf21b6d0be0aab1
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/provider/providerhelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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() ) |