Remove unused inline functions
Change-Id: I719c0448ae3db291edfb32738404ff375deb3c3b
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user