[Libreoffice-commits] core.git: sal/osl
Tor Lillqvist
tml at collabora.com
Thu Aug 18 11:33:01 UTC 2016
sal/osl/all/log.cxx | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
New commits:
commit fb77cc08421c25e9dccac627ca3be65096235e16
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Aug 18 14:32:21 2016 +0300
No need for nested unnamed namespaces
Change-Id: I586c11d4fe61b56624ee158c04e365cfb0cc4012
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index da7eeeb..276cbe4 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -156,11 +156,9 @@ void maybeOutputTimestamp(std::ostringstream &s) {
#endif
-namespace {
- inline bool isDebug(sal_detail_LogLevel level) {
- return level == SAL_DETAIL_LOG_LEVEL_DEBUG ||
- level == SAL_DETAIL_LOG_LEVEL_DEBUG_TRACE;
- }
+bool isDebug(sal_detail_LogLevel level) {
+ return level == SAL_DETAIL_LOG_LEVEL_DEBUG ||
+ level == SAL_DETAIL_LOG_LEVEL_DEBUG_TRACE;
}
bool report(sal_detail_LogLevel level, char const * area) {
More information about the Libreoffice-commits
mailing list