Kaydet (Commit) 647d7b0c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: handle OUString+=OUString(literal)

Change-Id: I6e534537883ef76db88926203bf21b6d0be0aab1
üst 523ce254
...@@ -306,7 +306,7 @@ bool ContentProviderImplHelper::renameAdditionalPropertySet( ...@@ -306,7 +306,7 @@ bool ContentProviderImplHelper::renameAdditionalPropertySet(
OUString aOldKeyWithoutSlash; OUString aOldKeyWithoutSlash;
if ( !aOldKeyWithSlash.endsWith("/") ) if ( !aOldKeyWithSlash.endsWith("/") )
{ {
aOldKeyWithSlash += OUString( '/' ); aOldKeyWithSlash += "/";
aOldKeyWithoutSlash = rOldKey; aOldKeyWithoutSlash = rOldKey;
} }
else if ( !rOldKey.isEmpty() ) else if ( !rOldKey.isEmpty() )
...@@ -390,7 +390,7 @@ bool ContentProviderImplHelper::copyAdditionalPropertySet( ...@@ -390,7 +390,7 @@ bool ContentProviderImplHelper::copyAdditionalPropertySet(
OUString aSrcKeyWithoutSlash; OUString aSrcKeyWithoutSlash;
if ( !aSrcKeyWithSlash.endsWith("/") ) if ( !aSrcKeyWithSlash.endsWith("/") )
{ {
aSrcKeyWithSlash += OUString( '/' ); aSrcKeyWithSlash += "/";
aSrcKeyWithoutSlash = rSourceKey; aSrcKeyWithoutSlash = rSourceKey;
} }
else if ( !rSourceKey.isEmpty() ) else if ( !rSourceKey.isEmpty() )
...@@ -526,7 +526,7 @@ bool ContentProviderImplHelper::removeAdditionalPropertySet( ...@@ -526,7 +526,7 @@ bool ContentProviderImplHelper::removeAdditionalPropertySet(
OUString aKeyWithoutSlash; OUString aKeyWithoutSlash;
if ( !aKeyWithSlash.endsWith("/") ) if ( !aKeyWithSlash.endsWith("/") )
{ {
aKeyWithSlash += OUString( '/' ); aKeyWithSlash += "/";
aKeyWithoutSlash = rKey; aKeyWithoutSlash = rKey;
} }
else if ( !rKey.isEmpty() ) else if ( !rKey.isEmpty() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment