diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-28 12:36:04 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-29 11:37:47 +0100 |
commit | 31ca7f6d71432081764782ce576cec1fd79e703f (patch) | |
tree | 0ffa463576aa6ce04c59f785ee36f08d646093bf /include/tools | |
parent | 8efc8f6801a0eba4e496595b9ac5a179e953472c (diff) |
tools: remove DBG_ERRORFILE and replace all callers
Change-Id: Ic76ccc49b9291fe82c56974eb6237cd3b85d91c8
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/debug.hxx | 6 |
1 files changed, 1 insertions, 5 deletions
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) |