From 5de7df5107b8cd18d7e048d394fa464079db1474 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 26 Jun 2015 13:53:21 +0200 Subject: loplugin:stringconstant: handle OUString+=OUString(literal) Change-Id: I4d168bda12604116c223b6fd0d78ded484591855 --- helpcompiler/inc/HelpCompiler.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx index 4c599534183f..4d5a201c5fd3 100644 --- a/helpcompiler/inc/HelpCompiler.hxx +++ b/helpcompiler/inc/HelpCompiler.hxx @@ -111,8 +111,7 @@ namespace fs OUStringToOString(ret.data, RTL_TEXTENCODING_UTF8).getStr() << std::endl); OString tmp(in.c_str()); OUString ustrSystemPath(OStringToOUString(tmp, getThreadTextEncoding())); - ret.data += OUString(sal_Unicode('/')); - ret.data += ustrSystemPath; + ret.data += "/" + ustrSystemPath; HCDBG(std::cerr << "final is " << OUStringToOString(ret.data, RTL_TEXTENCODING_UTF8).getStr() << std::endl); return ret; -- cgit