summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-18 17:16:40 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-18 17:16:40 +0300
commit79603023925547e1a2ace7cd4e113cdf702622b4 (patch)
treed2666d110e872e08c0a91e5b141115d75c07eef1 /sal
parent99ee4ebb0e934413bed881a02e4634e4d3f813ea (diff)
Move comment block back where it was
Change-Id: I020c1def83d7cc37f9d5e14f2fefacb31a56bbbf
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/all/log.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index c1608b1e3441..f9a6a4ea063c 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;