From 31ca7f6d71432081764782ce576cec1fd79e703f Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 28 Oct 2014 12:36:04 +0100 Subject: tools: remove DBG_ERRORFILE and replace all callers Change-Id: Ic76ccc49b9291fe82c56974eb6237cd3b85d91c8 --- include/tools/debug.hxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/tools/debug.hxx') diff --git a/include/tools/debug.hxx b/include/tools/debug.hxx index 050dc3428298..6e73d2efbbb8 100644 --- a/include/tools/debug.hxx +++ b/include/tools/debug.hxx @@ -33,7 +33,7 @@ Because the assertion macro (DBG_ASSERT) has been used for true assertions as well as to log warnings, it maps to SAL_WARN instead of standard assert. The warning and error macros (DBG_ASSERTWARNING, - DBG_WARNING, DBG_ERRORFILE) all map to + DBG_WARNING) all map to SAL_INFO. */ @@ -110,9 +110,6 @@ inline void DbgSetTestSolarMutex( DbgTestSolarMutexProc pProc ) #define DBG_WARNING( aWarning ) \ SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aWarning) -#define DBG_ERRORFILE( aError ) \ - SAL_DETAIL_INFO_IF_FORMAT(true, "legacy.tools", aError, __FILE__, __LINE__) - #define DBG_TESTSOLARMUTEX() \ do \ { \ @@ -125,7 +122,6 @@ do \ #define DBG_ASSERTWARNING( sCon, aWarning ) ((void)0) #define DBG_ASSERT( sCon, aError ) ((void)0) #define DBG_WARNING( aWarning ) ((void)0) -#define DBG_ERRORFILE( aError ) ((void)0) #define DBG_TESTSOLARMUTEX() ((void)0) -- cgit