summaryrefslogtreecommitdiff
path: root/svl/source/numbers
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-14 21:14:33 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-15 15:48:09 +0100
commitee5b9597605176af0c80f9ea28caac9ba7980254 (patch)
tree281cadecdcfeaf24322bab4bcc35fbd7c08c2d12 /svl/source/numbers
parent485ae0bc7e1a1d615dd1d4133d3e42d655dec029 (diff)
Related: tdf#160056 IniLnge is immutable
no lock needed here Change-Id: I00461d44f78e9776568492fccb7dee0e9869944e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164848 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svl/source/numbers')
-rw-r--r--svl/source/numbers/zforlist.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 24ecfed891f5..206a0c090d2f 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -1286,8 +1286,7 @@ bool SvNumberFormatter::IsNumberFormat(const OUString& sString,
LanguageType SvNumberFormatter::GetLanguage() const
{
- ::osl::MutexGuard aGuard( GetInstanceMutex() );
- return IniLnge;
+ return IniLnge; // immutable
}
// static