diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:53:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:55:32 +0200 |
commit | 5de7df5107b8cd18d7e048d394fa464079db1474 (patch) | |
tree | 260fdc0164675bad8b012690257ae2e874becf32 /helpcompiler/inc | |
parent | 0b60670850d936173bc0f1253f55ceda56d7984d (diff) |
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: I4d168bda12604116c223b6fd0d78ded484591855
Diffstat (limited to 'helpcompiler/inc')
-rw-r--r-- | helpcompiler/inc/HelpCompiler.hxx | 3 |
1 files changed, 1 insertions, 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; |