summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSedat Ak <sedat.ak.bm@gmail.com>2015-11-08 18:42:27 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-11-08 19:04:54 +0000
commitc4b71b0885122b67e05ed4aed89b0d12ce0f34c8 (patch)
tree2ad4533768e97220faa7e5eca4a4158b97d029f8 /tools
parent1d75c2e5ed1df1b9e3ae733d9c8a2106701b67ae (diff)
tdf#57950 Replace chained O(U)StringBuffer::append() with operator+
Change-Id: Ieef535e34f5acd9139c3ee1e9e6c650fc5fe92e4 Reviewed-on: https://gerrit.libreoffice.org/19842 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/config.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx
index f1a638e84226..4a8ee8f90b80 100644
--- a/tools/source/generic/config.cxx
+++ b/tools/source/generic/config.cxx
@@ -843,14 +843,7 @@ OString Config::ReadKey(const OString& rKey, const OString& rDefault) const
void Config::WriteKey(const OString& rKey, const OString& rStr)
{
#ifdef DBG_UTIL
- OStringBuffer aTraceStr("Config::WriteKey( ");
- aTraceStr.append(rKey);
- aTraceStr.append(", ");
- aTraceStr.append(rStr);
- aTraceStr.append(" ) to ");
- aTraceStr.append(GetGroup());
- aTraceStr.append(" in ");
- aTraceStr.append(OUStringToOString(maFileName, RTL_TEXTENCODING_UTF8));
+ OString aTraceStr("Config::WriteKey( " + rKey + ", " + rStr + " ) to " + GetGroup() + " in " + OUStringToOString(maFileName, RTL_TEXTENCODING_UTF8));
OSL_TRACE("%s", aTraceStr.getStr());
#endif