diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-11 18:25:32 +0530 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-03-11 14:01:07 +0000 |
commit | 2e0c1e03e85ef6a20ca362f263c60b141741f698 (patch) | |
tree | 817048da7265042348709b4d21aca2ea01c68838 /cpputools/source | |
parent | 67ef33f914eae7d9752cd7d354e76210f33f59f0 (diff) |
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I replaced OSL_DEBUG_LEVEL > 1 with OSL_DEBUG_LEVEL > 0
and made sure that it doesn't break the build
Change-Id: I9febeed949a24d7bc5afb13dedde03fd812b5b20
Reviewed-on: https://gerrit.libreoffice.org/23077
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'cpputools/source')
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 24 |
1 files changed, 3 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; } |