diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 10:19:25 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 16:17:06 +0100 |
commit | bb27014e100affb39f34823e110379bc9611e835 (patch) | |
tree | eea60e65177c4caf510fed1d8db59d289620925c /include/tools | |
parent | 6d24c8cf7751edf4809bc5f900d3e03af5251846 (diff) |
Remove unused inline functions
Change-Id: I719c0448ae3db291edfb32738404ff375deb3c3b
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/debug.hxx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/include/tools/debug.hxx b/include/tools/debug.hxx index b1b82bdc85e8..ad586621e744 100644 --- a/include/tools/debug.hxx +++ b/include/tools/debug.hxx @@ -142,21 +142,11 @@ inline void DbgSetPrintMsgBox( DbgPrintLine pProc ) DbgFunc( DBG_FUNC_SETPRINTMSGBOX, (void*)(long)pProc ); } -inline DbgPrintLine DbgGetPrintMsgBox() -{ - return (DbgPrintLine)(long)DbgFunc( DBG_FUNC_GETPRINTMSGBOX ); -} - inline void DbgSetPrintWindow( DbgPrintLine pProc ) { DbgFunc( DBG_FUNC_SETPRINTWINDOW, (void*)(long)pProc ); } -inline void DbgSetPrintTestTool( DbgPrintLine pProc ) -{ - DbgFunc( DBG_FUNC_SETPRINTTESTTOOL, (void*)(long)pProc ); -} - inline void DbgSetAbort( DbgPrintLine pProc ) { DbgFunc( DBG_FUNC_SET_ABORT, (void*)(long)pProc ); @@ -182,11 +172,6 @@ typedef sal_uInt16 DbgChannelId; */ TOOLS_DLLPUBLIC DbgChannelId DbgRegisterUserChannel( DbgPrintLine pProc ); -inline bool DbgFilterMessage( const char* pMsg ) -{ - return (bool)(long) DbgFunc( DBG_FUNC_FILTERMESSAGE, (void*)pMsg ); -} - inline bool DbgIsAllErrorOut() { return (DbgFunc( DBG_FUNC_ALLERROROUT ) != 0); @@ -202,24 +187,6 @@ inline void DbgSaveData( const DbgData& rData ) DbgFunc( DBG_FUNC_SAVEDATA, (void*)&rData ); } -inline bool DbgIsTraceOut() -{ - DbgData* pData = DbgGetData(); - return pData && pData->nTraceOut != DBG_OUT_NULL; -} - -inline bool DbgIsWarningOut() -{ - DbgData* pData = DbgGetData(); - return pData && pData->nWarningOut != DBG_OUT_NULL; -} - -inline bool DbgIsErrorOut() -{ - DbgData* pData = DbgGetData(); - return pData && pData->nErrorOut != DBG_OUT_NULL; -} - inline sal_uIntPtr DbgGetErrorOut() // Testtool: test whether to collect OSL_ASSERTions as well { DbgData* pData = DbgGetData(); @@ -229,16 +196,6 @@ inline sal_uIntPtr DbgGetErrorOut() // Testtool: test whether to collect OSL_A return DBG_OUT_NULL; } -inline bool DbgIsAssertWarning() -{ - return DbgIsWarningOut(); -} - -inline bool DbgIsAssert() -{ - return DbgIsErrorOut(); -} - inline sal_uIntPtr DbgIsResource() { DbgData* pData = DbgGetData(); |