diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 10:36:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 16:17:06 +0100 |
commit | 3afc276001625a613af750de755f3baa4fae3d42 (patch) | |
tree | be04518952327aa745573c9a549f5a88596b3ab9 /tools/source | |
parent | bb27014e100affb39f34823e110379bc9611e835 (diff) |
DBG_OUT_WARNING is unused
...and thus DgbData::nWarningOut is unused, too.
Change-Id: I388d2be7dafbfdc173a731dc7daf1c8b5efcd61d
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/debug/debug.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index 6f7adf81b8d3..bccd8abda58a 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -137,7 +137,6 @@ struct DebugData aDbgData.nTestFlags = DBG_TEST_RESOURCE; aDbgData.bOverwrite = true; aDbgData.nTraceOut = DBG_OUT_NULL; - aDbgData.nWarningOut = DBG_OUT_NULL; #ifdef UNX aDbgData.nErrorOut = DBG_OUT_SHELL; #else @@ -633,7 +632,6 @@ static DebugData* GetDebugData() lcl_tryReadConfigString( pLine, nLineLength, "include_class", aDebugData.aDbgData.aInclClassFilter, sizeof( aDebugData.aDbgData.aInclClassFilter ) ); lcl_tryReadConfigString( pLine, nLineLength, "exclude_class", aDebugData.aDbgData.aExclClassFilter, sizeof( aDebugData.aDbgData.aExclClassFilter ) ); lcl_tryReadOutputChannel( pLine, nLineLength, "trace", &aDebugData.aDbgData.nTraceOut ); - lcl_tryReadOutputChannel( pLine, nLineLength, "warning", &aDebugData.aDbgData.nWarningOut ); lcl_tryReadOutputChannel( pLine, nLineLength, "error", &aDebugData.aDbgData.nErrorOut ); lcl_tryReadConfigBoolean( pLine, nLineLength, "oslhook", &aDebugData.aDbgData.bHookOSLAssert ); } @@ -671,7 +669,6 @@ static DebugData* GetDebugData() else { lcl_matchOutputChannel( getenv( "DBGSV_TRACE_OUT" ), &aDebugData.aDbgData.nTraceOut ); - lcl_matchOutputChannel( getenv( "DBGSV_WARNING_OUT" ), &aDebugData.aDbgData.nWarningOut ); lcl_matchOutputChannel( getenv( "DBGSV_ERROR_OUT" ), &aDebugData.aDbgData.nErrorOut ); } @@ -1073,7 +1070,6 @@ void* DbgFunc( sal_uInt16 nAction, void* pParam ) lcl_writeConfigString( pIniFile, "include_class", pData->aInclClassFilter ); lcl_writeConfigString( pIniFile, "exclude_class", pData->aExclClassFilter ); lcl_writeConfigOutChannel( pIniFile, "trace", pData->nTraceOut ); - lcl_writeConfigOutChannel( pIniFile, "warning", pData->nWarningOut ); lcl_writeConfigOutChannel( pIniFile, "error", pData->nErrorOut ); lcl_writeConfigBoolean( pIniFile, "oslhook", pData->bHookOSLAssert ); @@ -1415,11 +1411,6 @@ void DbgOut( const sal_Char* pMsg, sal_uInt16 nDbgOut, const sal_Char* pFile, sa nOut = pData->aDbgData.nErrorOut; pStr = "Error: "; } - else if ( nDbgOut == DBG_OUT_WARNING ) - { - nOut = pData->aDbgData.nWarningOut; - pStr = "Warning: "; - } else { nOut = pData->aDbgData.nTraceOut; |