diff options
Diffstat (limited to 'i18nlangtag/source/languagetag/languagetag.cxx')
-rw-r--r-- | i18nlangtag/source/languagetag/languagetag.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 1463ca8aef50..23bd70300135 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -20,6 +20,7 @@ #include <osl/mutex.hxx> #include <rtl/instance.hxx> #include <rtl/locale.h> +#include <tools/long.hxx> #include <algorithm> #include <map> #include <unordered_set> @@ -839,7 +840,7 @@ LanguageTag::ImplPtr LanguageTag::registerImpl() const osl::MutexGuard aGuard( theMutex::get()); #if OSL_DEBUG_LEVEL > 0 - static long nRunning = 0; + static tools::Long nRunning = 0; // Entering twice here is ok, which is needed for fallback init in // getKnowns() in canonicalize() via pImpl->convertBcp47ToLocale() below, // everything else is suspicious. |