From cdbac696fb0cbb1d09645bc02799eed5504b192b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Oct 2019 16:23:37 +0200 Subject: simplify "a = a +" to "a +=" mostly so that my stringadd loplugin can point out places to improve Change-Id: I9920ee1c99cdb6b811ba67ff9d8e32aa261884b5 Reviewed-on: https://gerrit.libreoffice.org/80618 Tested-by: Jenkins Reviewed-by: Noel Grandin --- helpcompiler/inc/HelpCompiler.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpcompiler/inc') diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx index 2b4a6bad049d..49a22205cae7 100644 --- a/helpcompiler/inc/HelpCompiler.hxx +++ b/helpcompiler/inc/HelpCompiler.hxx @@ -108,7 +108,7 @@ namespace fs { OString tmp(in); OUString ustrSystemPath(OStringToOUString(tmp, getThreadTextEncoding())); - data = data + ustrSystemPath; + data += ustrSystemPath; } void append(const std::string &in) { append(in.c_str()); } }; -- cgit