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

Aybuke Ozdemir aybuke.147 at gmail.com
Wed Oct 7 23:20:23 PDT 2015


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

New commits:
commit bbfc031333aa74fbd4c6362c33405c49c22283f3
Author: Aybuke Ozdemir <aybuke.147 at gmail.com>
Date:   Wed Oct 7 14:48:57 2015 +0300

    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 at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

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


More information about the Libreoffice-commits mailing list