[Libreoffice-commits] core.git: l10ntools/inc l10ntools/source
Rohan Kumar
rohankanojia420 at gmail.com
Tue Mar 8 13:26:20 UTC 2016
l10ntools/inc/helpmerge.hxx | 2 +-
l10ntools/source/helpmerge.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 3f80f144cff8d8ddd1d33e7b8ca6dbe2ad8d8491
Author: Rohan Kumar <rohankanojia420 at gmail.com>
Date: Mon Mar 7 23:38:58 2016 +0530
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 <ci at libreoffice.org>
Reviewed-by: jan iversen <jani at documentfoundation.org>
diff --git a/l10ntools/inc/helpmerge.hxx b/l10ntools/inc/helpmerge.hxx
index 89c8543..dcc3130 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 c5fda05..6766036 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() );
More information about the Libreoffice-commits
mailing list