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(
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() )
......
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