From 3f80f144cff8d8ddd1d33e7b8ca6dbe2ad8d8491 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 7 Mar 2016 23:38:58 +0530 Subject: tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals I removed OSL_DEBUG_LEVEL > 1 conditionals, replaced them with OSL_DEBUG_LEVEL > 0 as suggested in updated easy hack Change-Id: I4af8cd2a9bf9980fc98967d499d1fc30642251f4 Reviewed-on: https://gerrit.libreoffice.org/23010 Tested-by: Jenkins Reviewed-by: jan iversen --- l10ntools/inc/helpmerge.hxx | 2 +- l10ntools/source/helpmerge.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/inc/helpmerge.hxx b/l10ntools/inc/helpmerge.hxx index 89c85433d84f..dcc3130cd3e6 100644 --- a/l10ntools/inc/helpmerge.hxx +++ b/l10ntools/inc/helpmerge.hxx @@ -31,7 +31,7 @@ class HelpParser private: OString sHelpFile; -#if OSL_DEBUG_LEVEL > 2 +#if OSL_DEBUG_LEVEL > 0 /// Debugmethod, prints the content of the map to stdout static void Dump(LangHashMap* rElem_in , const OString & sKey_in); diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx index c5fda0522c8b..676603696ca4 100644 --- a/l10ntools/source/helpmerge.cxx +++ b/l10ntools/source/helpmerge.cxx @@ -46,7 +46,7 @@ #include "helper.hxx" #include "po.hxx" -#if OSL_DEBUG_LEVEL > 2 +#if OSL_DEBUG_LEVEL > 0 void HelpParser::Dump(XMLHashMap* rElem_in) { for(XMLHashMap::iterator pos = rElem_in->begin();pos != rElem_in->end(); ++pos) @@ -180,7 +180,7 @@ bool HelpParser::MergeSingleFile( XMLFile* file , MergeDataFile* pMergeDataFile { posm = aXMLStrHM->find( *pos ); LangHashMap* aLangHM = posm->second; -#if OSL_DEBUG_LEVEL > 2 +#if OSL_DEBUG_LEVEL > 0 printf("*********************DUMPING HASHMAP***************************************"); Dump(aXMLStrHM); printf("DBG: sHelpFile = %s\n",sHelpFile.getStr() ); -- cgit