summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-26 13:53:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-26 13:55:32 +0200
commit9e7c54eb33e18b717783b67f8c1f62fa9a591d8b (patch)
tree267fd8201946f5943185e103c433c366f0945a73 /idl
parent5de7df5107b8cd18d7e048d394fa464079db1474 (diff)
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: I26212f3d0bb92440e77b86c751c21e34446143d6
Diffstat (limited to 'idl')
-rw-r--r--idl/source/prj/command.cxx4
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);
}
}