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

Change-Id: I26212f3d0bb92440e77b86c751c21e34446143d6
This commit is contained in:
Stephan Bergmann
2015-06-26 13:53:31 +02:00
parent 5de7df5107
commit 9e7c54eb33

View File

@@ -265,7 +265,7 @@ SvCommand::SvCommand( int argc, char ** argv )
{ // define include paths
OUString aName( aParam.copy( 1 ) );
if( !aPath.isEmpty() )
aPath += OUString( SAL_PATHSEPARATOR );
aPath += OUStringLiteral1<SAL_PATHSEPARATOR>();
aPath += aName;
}
else if( aParam.startsWithIgnoreAsciiCase( "rsc" ) )
@@ -304,7 +304,7 @@ SvCommand::SvCommand( int argc, char ** argv )
if( aInc.getLength() )
{
if( !aPath.isEmpty() )
aPath += OUString( SAL_PATHSEPARATOR );
aPath += OUStringLiteral1<SAL_PATHSEPARATOR>();
aPath += OStringToOUString(aInc, RTL_TEXTENCODING_ASCII_US);
}
}