diff options
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 24 | ||||
-rw-r--r-- | include/sal/log-areas.dox | 5 |
2 files changed, 8 insertions, 21 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index 806e7a107ed9..a8ddbdf22a07 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -109,13 +109,7 @@ static bool readOption( OUString * pValue, const sal_Char * pOpt, } else { -#if OSL_DEBUG_LEVEL > 1 - out( "\n> identified option -" ); - out( pOpt ); - out( " = " ); - OString tmp = OUStringToOString(aArg, RTL_TEXTENCODING_ASCII_US); - out( tmp.getStr() ); -#endif + SAL_INFO("cpputools.unoexe", "> identified option -" << pOpt << " = " << aArg); ++(*pnIndex); return true; } @@ -123,13 +117,7 @@ static bool readOption( OUString * pValue, const sal_Char * pOpt, else if (aArg.indexOf(aOpt) == 1) { *pValue = aArg.copy(1 + aOpt.getLength()); -#if OSL_DEBUG_LEVEL > 1 - out( "\n> identified option -" ); - out( pOpt ); - out( " = " ); - OString tmp = OUStringToOString(aArg.copy(aOpt.getLength()), RTL_TEXTENCODING_ASCII_US); - out( tmp.getStr() ); -#endif + SAL_INFO("cpputools.unoexe", "> identified option -" << pOpt << " = " << aArg); ++(*pnIndex); return true; @@ -146,10 +134,7 @@ static bool readOption( bool * pbOpt, const sal_Char * pOpt, { ++(*pnIndex); *pbOpt = true; -#if OSL_DEBUG_LEVEL > 1 - out( "\n> identified option --" ); - out( pOpt ); -#endif + SAL_INFO("cpputools.unoexe", "> identified option --" << pOpt); return true; } return false; @@ -557,9 +542,6 @@ SAL_IMPLEMENT_MAIN() if (xComp.is()) xComp->dispose(); -#if OSL_DEBUG_LEVEL > 1 - out( "\n" ); -#endif return nRet; } diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 207f843af782..e76e948876f6 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -100,6 +100,11 @@ certain functionality. @li @c cppuhelper @li @c cppuhelper.shlib +@section cpputools + +@li @c cpputools +@li @c cpputools.unoexe + @section cui @li @c cui.customize |