[Libreoffice-commits] core.git: sal/osl

Miklos Vajna vmiklos at collabora.co.uk
Wed Jan 13 03:11:20 PST 2016


 sal/osl/all/log.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 20b0c8fc3bb5bcf4ae8ba81c88aaa5726dbcf9e2
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Jan 13 12:09:52 2016 +0100

    sal: avoid " at:\n" at the end of SAL_DEBUG() messages
    
    This reverts one hunk of commit c995196ff0e9f7041b03fc513d703d6e60b8c867
    (Fixup SAL_DEBUG_TRACE macro., 2016-01-12).
    
    Change-Id: Icbf611c4aaa909b8c495bed1280fad73ba876e8c

diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 665942b..a010c33 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -210,7 +210,7 @@ void log(
     }
 
     s << message;
-    if (isDebug(level)) {
+    if (level == SAL_DETAIL_LOG_LEVEL_DEBUG_TRACE) {
         s << " at:\n";
         s << OUString(osl_backtraceAsString(), SAL_NO_ACQUIRE);
     }


More information about the Libreoffice-commits mailing list