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

Tor Lillqvist tml at collabora.com
Thu Aug 18 14:17:28 UTC 2016


 sal/osl/all/log.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 79603023925547e1a2ace7cd4e113cdf702622b4
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Aug 18 17:16:40 2016 +0300

    Move comment block back where it was
    
    Change-Id: I020c1def83d7cc37f9d5e14f2fefacb31a56bbbf

diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index c1608b1..f9a6a4e 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -207,12 +207,12 @@ bool report(sal_detail_LogLevel level, char const * area) {
         Sense sense;
         switch (*p++) {
         case '\0':
-            // if a specific item is both positive and negative
-            // (senseLen[POSITIVE] == senseLen[NEGATIVE]), default to
-            // positive
             if (level == SAL_DETAIL_LOG_LEVEL_WARN && !seenWarn)
                 return report(SAL_DETAIL_LOG_LEVEL_INFO, area);
             return senseLen[POSITIVE] >= senseLen[NEGATIVE];
+                // if a specific item is both positive and negative
+                // (senseLen[POSITIVE] == senseLen[NEGATIVE]), default to
+                // positive
         case '+':
             sense = POSITIVE;
             break;


More information about the Libreoffice-commits mailing list