diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-03-20 14:23:40 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-03-21 16:30:59 +0100 |
commit | 9adcf67c9b164d019eebe45279bcaa91b0ce471a (patch) | |
tree | 5e323faf067516423e0552c9775d56cb3e5d1a44 /i18nlangtag | |
parent | 03ab46c8a189b751ed1acffd0b575fae584c1d00 (diff) |
Drop C/C++ DEBUG macro
...(that was defined iff OSL_DEBUG_LEVEL >= 2) and replace its uses with
OSL_DEBUG_LEVEL directly
Change-Id: I807c15a02cc8ced9852287df0afb4808761d19d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165067
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/inunx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/isolang/inunx.cxx b/i18nlangtag/source/isolang/inunx.cxx index 4dd4cdb3531b..297c2c0c188b 100644 --- a/i18nlangtag/source/isolang/inunx.cxx +++ b/i18nlangtag/source/isolang/inunx.cxx @@ -104,7 +104,7 @@ static void getPlatformSystemLanguageImpl( LanguageType& rSystemLanguage, nLang = LanguageTag( *procLocale ).makeFallback().getLanguageType(); OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); rSystemLanguage = nLang; -#ifdef DEBUG +#if OSL_DEBUG_LEVEL >= 2 if ( rSystemLanguage == LANGUAGE_DONTKNOW ) fprintf( stderr, "intnunx.cxx: failed to convert osl_getProcessLocale() language to system language.\n" ); #endif |