loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: I26212f3d0bb92440e77b86c751c21e34446143d6
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user