[Libreoffice-commits] core.git: tools/source

Sedat Ak sedat.ak.bm at gmail.com
Sun Nov 8 11:05:14 PST 2015


 tools/source/generic/config.cxx |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

New commits:
commit c4b71b0885122b67e05ed4aed89b0d12ce0f34c8
Author: Sedat Ak <sedat.ak.bm at gmail.com>
Date:   Sun Nov 8 18:42:27 2015 +0200

    tdf#57950 Replace chained O(U)StringBuffer::append() with operator+
    
    Change-Id: Ieef535e34f5acd9139c3ee1e9e6c650fc5fe92e4
    Reviewed-on: https://gerrit.libreoffice.org/19842
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx
index f1a638e..4a8ee8f 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
 


More information about the Libreoffice-commits mailing list