diff options
Diffstat (limited to 'sal/osl/all/log.cxx')
-rw-r--r-- | sal/osl/all/log.cxx | 6 |
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; |