i18nlangtag: replace tools::Long with long
Revert to long as originally used in commite81359a9a3
: "added registerImpl() re-entered warning" and then apparently accidentally broken in the mass conversion commite25fd7782a
: "long->tools::Long in hwpfilter..oox". Change-Id: I39c983ddec83c84953bc3db167793944c671894b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135714 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
e03cd0893e
commit
09a3e24a8e
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@
|
||||||
#include <sal/log.hxx>
|
#include <sal/log.hxx>
|
||||||
#include <osl/file.hxx>
|
#include <osl/file.hxx>
|
||||||
#include <rtl/locale.h>
|
#include <rtl/locale.h>
|
||||||
#include <tools/long.hxx>
|
|
||||||
#include <o3tl/string_view.hxx>
|
#include <o3tl/string_view.hxx>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
@ -853,7 +852,7 @@ LanguageTag::ImplPtr LanguageTag::registerImpl() const
|
||||||
std::unique_lock aGuard( theMutex());
|
std::unique_lock aGuard( theMutex());
|
||||||
|
|
||||||
#if OSL_DEBUG_LEVEL > 0
|
#if OSL_DEBUG_LEVEL > 0
|
||||||
static tools::Long nRunning = 0;
|
static long nRunning = 0;
|
||||||
// Entering twice here is ok, which is needed for fallback init in
|
// Entering twice here is ok, which is needed for fallback init in
|
||||||
// getKnowns() in canonicalize() via pImpl->convertBcp47ToLocale() below,
|
// getKnowns() in canonicalize() via pImpl->convertBcp47ToLocale() below,
|
||||||
// everything else is suspicious.
|
// everything else is suspicious.
|
||||||
|
|
Loading…
Reference in a new issue