summaryrefslogtreecommitdiff
path: root/include/tools/debug.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-25 10:36:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-25 16:17:06 +0100
commit3afc276001625a613af750de755f3baa4fae3d42 (patch)
treebe04518952327aa745573c9a549f5a88596b3ab9 /include/tools/debug.hxx
parentbb27014e100affb39f34823e110379bc9611e835 (diff)
DBG_OUT_WARNING is unused
...and thus DgbData::nWarningOut is unused, too. Change-Id: I388d2be7dafbfdc173a731dc7daf1c8b5efcd61d
Diffstat (limited to 'include/tools/debug.hxx')
-rw-r--r--include/tools/debug.hxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/include/tools/debug.hxx b/include/tools/debug.hxx
index ad586621e744..786c2ffc9c3e 100644
--- a/include/tools/debug.hxx
+++ b/include/tools/debug.hxx
@@ -78,7 +78,6 @@ struct DbgData
sal_uIntPtr nTestFlags;
bool bOverwrite;
sal_uIntPtr nTraceOut;
- sal_uIntPtr nWarningOut;
sal_uIntPtr nErrorOut;
bool bHookOSLAssert;
sal_Char aDebugName[260];
@@ -163,8 +162,8 @@ typedef sal_uInt16 DbgChannelId;
@param pProc
the function for emitting the diagnostic messages
@return
- a unique number for this channel, which can be used for ->DbgData::nErrorOut,
- ->DbgData::nWarningOut and ->DbgData::nTraceOut
+ a unique number for this channel, which can be used for ->DbgData::nErrorOut
+ and ->DbgData::nTraceOut
@see DBG_OUT_USER_CHANNEL_0
(In theory, this function could replace the other hard-coded channels. Well, at least
@@ -250,8 +249,7 @@ inline void DbgPrintFile( const sal_Char* pLine )
// Dbg output
#define DBG_OUT_TRACE 1
-#define DBG_OUT_WARNING 2
-#define DBG_OUT_ERROR 3
+#define DBG_OUT_ERROR 2
TOOLS_DLLPUBLIC void DbgOut( const sal_Char* pMsg, sal_uInt16 nOutType = DBG_OUT_TRACE,
const sal_Char* pFile = NULL, sal_uInt16 nLine = 0 );
@@ -384,12 +382,6 @@ do \
DbgGetData()->nTraceOut = nOut; \
} while(false)
-#define DBG_INSTOUTWARNING( nOut ) \
-do \
-{ \
- DbgGetData()->nWarningOut = nOut; \
-} while(false)
-
#define DBG_INSTOUTERROR( nOut ) \
do \
{ \
@@ -434,7 +426,6 @@ typedef const sal_Char* (*DbgUsr)(const void* pThis );
#define DBG_TESTSOLARMUTEX() ((void)0)
#define DBG_INSTOUTTRACE( nOut ) ((void)0)
-#define DBG_INSTOUTWARNING( nOut ) ((void)0)
#define DBG_INSTOUTERROR( nOut ) ((void)0)
#endif