[Libreoffice-commits] core.git: i18npool/inc i18npool/source
Rohan Kumar
rohankanojia420 at gmail.com
Tue Mar 8 13:27:10 UTC 2016
i18npool/inc/transliterationImpl.hxx | 2 +-
i18npool/source/transliteration/transliterationImpl.cxx | 2 +-
i18npool/source/transliteration/transliteration_body.cxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 856cf7115d7b52f38371047b4a1aeae747a5d9bc
Author: Rohan Kumar <rohankanojia420 at gmail.com>
Date: Mon Mar 7 23:28:39 2016 +0530
tdf#91794 Remove OSL_DEBUG_LEVEL > 1 conditionals
I removed OSL_DEBUG_LEVEL > 1 conditionals in order to
reduce debug levels.
Change-Id: Ia1890277aec8ba0b57e325564a107d7fe2f6e967
Reviewed-on: https://gerrit.libreoffice.org/23008
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: jan iversen <jani at documentfoundation.org>
diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx
index e50b63a..0c0fd5a 100644
--- a/i18npool/inc/transliterationImpl.hxx
+++ b/i18npool/inc/transliterationImpl.hxx
@@ -28,7 +28,7 @@
namespace com { namespace sun { namespace star { namespace i18n {
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
#define RETURN_DEBUG_STRING ("return from transliterationImpl");
#define RETURN_DEBUG_NUMBER 'TRAN'
#else
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx
index 287d2ce..abe434c 100644
--- a/i18npool/source/transliteration/transliterationImpl.cxx
+++ b/i18npool/source/transliteration/transliterationImpl.cxx
@@ -35,7 +35,7 @@
#include <algorithm>
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
#include <stdio.h>
#endif
diff --git a/i18npool/source/transliteration/transliteration_body.cxx b/i18npool/source/transliteration/transliteration_body.cxx
index 875b4a1..2730e9d 100644
--- a/i18npool/source/transliteration/transliteration_body.cxx
+++ b/i18npool/source/transliteration/transliteration_body.cxx
@@ -301,7 +301,7 @@ static OUString transliterate_titlecase_Impl(
pOffset[i] = nIdx;
}
}
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
const sal_Int32 *pCOffset = offset.getConstArray();
(void) pCOffset;
#endif
More information about the Libreoffice-commits
mailing list