[Libreoffice-commits] core.git: 3 commits - i18npool/inc i18npool/source

Stephan Bergmann sbergman at redhat.com
Tue Mar 8 15:05:49 UTC 2016


 i18npool/inc/transliterationImpl.hxx                     |    8 --------
 i18npool/source/transliteration/transliterationImpl.cxx  |    4 ----
 i18npool/source/transliteration/transliteration_body.cxx |    5 -----
 3 files changed, 17 deletions(-)

New commits:
commit a3fd6896633be3936c59abc7e01805482ac2f47a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 8 16:05:22 2016 +0100

    Remove unused macros
    
    Change-Id: Icc1f5dbe7bac1d80429cafda7e88061193dd137a

diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx
index 0c0fd5a..21ffd6c 100644
--- a/i18npool/inc/transliterationImpl.hxx
+++ b/i18npool/inc/transliterationImpl.hxx
@@ -28,14 +28,6 @@
 
 namespace com { namespace sun { namespace star { namespace i18n {
 
-#if OSL_DEBUG_LEVEL > 0
-#define RETURN_DEBUG_STRING ("return from transliterationImpl");
-#define RETURN_DEBUG_NUMBER 'TRAN'
-#else
-#define RETURN_DEBUG_STRING
-#define RETURN_DEBUG_NUMBER
-#endif
-
 class TransliterationImpl : public cppu::WeakImplHelper
 <
     css::i18n::XExtendedTransliteration,
commit 987626ee9482407b666abd1d9578aacb410e9935
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 8 16:03:49 2016 +0100

    Remove dead code
    
    Change-Id: Iebaf8af5dbf11cd255f67202bbb18f61b1bd39fd

diff --git a/i18npool/source/transliteration/transliteration_body.cxx b/i18npool/source/transliteration/transliteration_body.cxx
index 2730e9d..982c80c 100644
--- a/i18npool/source/transliteration/transliteration_body.cxx
+++ b/i18npool/source/transliteration/transliteration_body.cxx
@@ -301,11 +301,6 @@ static OUString transliterate_titlecase_Impl(
             pOffset[i] = nIdx;
         }
     }
-#if OSL_DEBUG_LEVEL > 0
-    const sal_Int32 *pCOffset = offset.getConstArray();
-    (void) pCOffset;
-#endif
-
     return aRes;
 }
 
commit 07c514662a41553aba3c1c272072c12e8a3e35a1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 8 16:02:49 2016 +0100

    Remove unnecessary include
    
    Change-Id: I5a0b1528a7ad3cff15d185600d4bd74c25fb30bb

diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx
index abe434c..1ce9660 100644
--- a/i18npool/source/transliteration/transliterationImpl.cxx
+++ b/i18npool/source/transliteration/transliterationImpl.cxx
@@ -35,10 +35,6 @@
 
 #include <algorithm>
 
-#if OSL_DEBUG_LEVEL > 0
-#include <stdio.h>
-#endif
-
 using namespace com::sun::star::uno;
 using namespace com::sun::star::lang;
 


More information about the Libreoffice-commits mailing list