diff options
author | Aybuke Ozdemir <aybuke.147@gmail.com> | 2015-10-07 14:48:57 +0300 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-08 06:20:02 +0000 |
commit | bbfc031333aa74fbd4c6362c33405c49c22283f3 (patch) | |
tree | fde5492f218b2d94bb660a4e90ce3a54ed77b6a1 /tools | |
parent | 2e6feddc53830406fa04b4a0aea49bb8438dc702 (diff) |
tdf#57950 Replace chained O(U)StringBuffer::append() with operator+
Change-Id: Id9bc24079d3840277d6fc10197a4f27373f4bd25
Reviewed-on: https://gerrit.libreoffice.org/19225
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/config.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx index 257721eaa4b9..f1a638e84226 100644 --- a/tools/source/generic/config.cxx +++ b/tools/source/generic/config.cxx @@ -815,12 +815,7 @@ OString Config::ReadKey(const OString& rKey) const OString Config::ReadKey(const OString& rKey, const OString& rDefault) const { #ifdef DBG_UTIL - OStringBuffer aTraceStr("Config::ReadKey( "); - aTraceStr.append(rKey); - aTraceStr.append(" ) from "); - aTraceStr.append(GetGroup()); - aTraceStr.append(" in "); - aTraceStr.append(OUStringToOString(maFileName, RTL_TEXTENCODING_UTF8)); + OString aTraceStr("Config::ReadKey( " + rKey + " ) from " + GetGroup() + " in " + OUStringToOString(maFileName, RTL_TEXTENCODING_UTF8)); OSL_TRACE("%s", aTraceStr.getStr()); #endif |