[Libreoffice-commits] online.git: common/Log.hpp

Tor Lillqvist tml at collabora.com
Fri Jul 13 17:19:15 UTC 2018


 common/Log.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0c425c82d34ab1f719628b33c09aa5496b93fc88
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Jul 13 17:51:21 2018 +0300

    Be consistent, no space before the '|' in LOG_BODY()
    
    Change-Id: Iecab73efcb19562c5a7ebee506f13668b1a827c3

diff --git a/common/Log.hpp b/common/Log.hpp
index bfd1da8bd..1a4f69cdd 100644
--- a/common/Log.hpp
+++ b/common/Log.hpp
@@ -226,7 +226,7 @@ namespace Log
 #define LOG_FTL(X) do { auto& l_ = Log::logger(); if (l_.fatal()) { LOG_BODY_(FATAL, "FTL", X); } } while (false)
 #define LOG_SFL(X) do { auto& l_ = Log::logger(); if (l_.error()) { LOG_BODY_(FATAL, "FTL", X << " (" << Util::symbolicErrno(errno) << ": " << std::strerror(errno) << ")"); } } while (false)
 
-#define LOG_END(l) do { l << " | " << __FILE__ << ':' << __LINE__; l.flush(); } while (false)
+#define LOG_END(l) do { l << "| " << __FILE__ << ':' << __LINE__; l.flush(); } while (false)
 
 #define LOG_CHECK(X) do { if (!(X)) { LOG_ERR("Check failed. Expected (" #X ")."); } } while (false)
 #define LOG_CHECK_RET(X, RET) do { if (!(X)) { LOG_ERR("Check failed. Expected (" #X ")."); return RET; } } while (false)


More information about the Libreoffice-commits mailing list