summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Kumar <rohankanojia420@gmail.com>2016-03-07 23:28:39 +0530
committerjan iversen <jani@documentfoundation.org>2016-03-08 13:26:47 +0000
commit856cf7115d7b52f38371047b4a1aeae747a5d9bc (patch)
tree936fa746a955788c4fee03a1d32949a301ff475f
parent3f80f144cff8d8ddd1d33e7b8ca6dbe2ad8d8491 (diff)
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@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
-rw-r--r--i18npool/inc/transliterationImpl.hxx2
-rw-r--r--i18npool/source/transliteration/transliterationImpl.cxx2
-rw-r--r--i18npool/source/transliteration/transliteration_body.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx
index e50b63abb22d..0c0fd5a07267 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 287d2cea70f2..abe434cc3fe8 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 875b4a150d60..2730e9d77e3c 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