Kaydet (Commit) 9e7c54eb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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

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