[Libreoffice-commits] .: tools/inc
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Fri Nov 25 01:51:23 PST 2011
tools/inc/tools/debug.hxx | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
New commits:
commit 360043b30ebe21a6a02b5eeeecdfe0b4bd12ab22
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Nov 25 10:51:13 2011 +0100
demoted plentiful DBG_WARNING etc. to SAL_INFO
diff --git a/tools/inc/tools/debug.hxx b/tools/inc/tools/debug.hxx
index ecbfa3b..4fde7b5 100644
--- a/tools/inc/tools/debug.hxx
+++ b/tools/inc/tools/debug.hxx
@@ -46,7 +46,7 @@
have been used for true assertions as well as for logged warnings, they map
to SAL_WARN instead of standard assert. The warning and error macros
(DBG_WARNING, DBG_WARNING1, ..., DBG_WARNING5, DBG_WARNINGFILE,
- DBG_ERRORFILE) all map to SAL_WARN, too.
+ DBG_ERRORFILE) all map to SAL_INFO.
*/
// ------------
@@ -480,23 +480,23 @@ public:
#endif
#define DBG_WARNING( aWarning ) \
- SAL_DETAIL_WARN_IF_FORMAT(true, "legacy.tools", aWarning)
+ SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning)
#define DBG_WARNING1( aWarning, x1 ) \
- SAL_DETAIL_WARN_IF_FORMAT(true, "legacy.tools", aWarning, x1)
+ SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1)
#define DBG_WARNING2( aWarning, x1, x2 ) \
- SAL_DETAIL_WARN_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2)
+ SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2)
#define DBG_WARNING3( aWarning, x1, x2, x3 ) \
- SAL_DETAIL_WARN_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2, x3)
+ SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2, x3)
#define DBG_WARNING4( aWarning, x1, x2, x3, x4 ) \
- SAL_DETAIL_WARN_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2, x3, x4)
+ SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2, x3, x4)
#define DBG_WARNING5( aWarning, x1, x2, x3, x4, x5 ) \
- SAL_DETAIL_WARN_IF_FORMAT( \
+ SAL_DETAIL_INFO_IF_FORMAT( \
true, "legacy.tools", aWarning, x1, x2, x3, x4, x5)
-#define DBG_WARNINGFILE( aWarning ) SAL_DETAIL_WARN_IF_FORMAT( \
+#define DBG_WARNINGFILE( aWarning ) SAL_DETAIL_INFO_IF_FORMAT( \
true, "legacy.tools", aWarning, __FILE__, __LINE__)
#define DBG_ERRORFILE( aError ) \
- SAL_DETAIL_WARN_IF_FORMAT(true, "legacy.tools", aError, __FILE__, __LINE__)
+ SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aError, __FILE__, __LINE__)
#define DBG_TESTSOLARMUTEX() \
do \
More information about the Libreoffice-commits
mailing list