summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAybuke Ozdemir <aybuke.147@gmail.com>2015-10-07 14:48:57 +0300
committerNoel Grandin <noelgrandin@gmail.com>2015-10-08 06:20:02 +0000
commitbbfc031333aa74fbd4c6362c33405c49c22283f3 (patch)
treefde5492f218b2d94bb660a4e90ce3a54ed77b6a1
parent2e6feddc53830406fa04b4a0aea49bb8438dc702 (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>
-rw-r--r--tools/source/generic/config.cxx7
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