summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2012-01-10 07:27:36 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-10 07:27:36 +0100
commitef1602211907a222190b061d1d7f8a2a5ab9be66 (patch)
tree948719c29ea23dc174a9c25d316a0e2e4e33d3df /tools
parentRemove cruft in debug tools (diff)
downloadcore-ef1602211907a222190b061d1d7f8a2a5ab9be66.tar.gz
core-ef1602211907a222190b061d1d7f8a2a5ab9be66.zip
Removed unused DBG_WARNING{4, 5} macros, replaced DBG_WARNINGFILE
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/debug.hxx14
1 files changed, 2 insertions, 12 deletions
diff --git a/tools/inc/tools/debug.hxx b/tools/inc/tools/debug.hxx
index c335a0aa6757..bf28581f2b21 100644
--- a/tools/inc/tools/debug.hxx
+++ b/tools/inc/tools/debug.hxx
@@ -45,8 +45,8 @@
Because the assertion macros (DBG_ASSERT, DBG_BF_ASSERT) have been used for
true assertions as well as to log warnings, they map to SAL_WARN instead of
standard assert. The warning and error macros (DBG_ASSERTWARNING,
- DBG_WARNING, DBG_WARNING1, ..., DBG_WARNING5, DBG_WARNINGFILE,
- DBG_ERRORFILE) all map to SAL_INFO.
+ DBG_WARNING, DBG_WARNING1, ..., DBG_WARNING3, DBG_ERRORFILE) all map to
+ SAL_INFO.
*/
// ------------
@@ -457,13 +457,6 @@ public:
SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2)
#define DBG_WARNING3( 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_INFO_IF_FORMAT(true, "legacy.tools", aWarning, x1, x2, x3, x4)
-#define DBG_WARNING5( aWarning, x1, x2, x3, x4, x5 ) \
- SAL_DETAIL_INFO_IF_FORMAT( \
- true, "legacy.tools", aWarning, x1, x2, x3, x4, x5)
-#define DBG_WARNINGFILE( aWarning ) SAL_DETAIL_INFO_IF_FORMAT( \
- true, "legacy.tools", aWarning, __FILE__, __LINE__)
#define DBG_ERRORFILE( aError ) \
SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aError, __FILE__, __LINE__)
@@ -535,9 +528,6 @@ typedef const sal_Char* (*DbgUsr)(const void* pThis );
#define DBG_WARNING1( aWarning, x1 ) ((void)0)
#define DBG_WARNING2( aWarning, x1, x2 ) ((void)0)
#define DBG_WARNING3( aWarning, x1, x2, x3 ) ((void)0)
-#define DBG_WARNING4( aWarning, x1, x2, x3, x4 ) ((void)0)
-#define DBG_WARNING5( aWarning, x1, x2, x3, x4, x5 ) ((void)0)
-#define DBG_WARNINGFILE( aWarning ) ((void)0)
#define DBG_ERRORFILE( aError ) ((void)0)
#define DBG_TESTSOLARMUTEX() ((void)0)