diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:53:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:55:32 +0200 |
commit | 9e7c54eb33e18b717783b67f8c1f62fa9a591d8b (patch) | |
tree | 267fd8201946f5943185e103c433c366f0945a73 /idl | |
parent | loplugin:stringconstant: handle OUString+=OUString(literal) (diff) | |
download | core-9e7c54eb33e18b717783b67f8c1f62fa9a591d8b.tar.gz core-9e7c54eb33e18b717783b67f8c1f62fa9a591d8b.zip |
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: I26212f3d0bb92440e77b86c751c21e34446143d6
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/prj/command.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index 005c0f05946e..39c1bc45450d 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -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); } } |