summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/numformat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/numformat.cxx')
-rw-r--r--sc/source/core/tool/numformat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/numformat.cxx b/sc/source/core/tool/numformat.cxx
index ec8bf642e5a6..ce3df323f80d 100644
--- a/sc/source/core/tool/numformat.cxx
+++ b/sc/source/core/tool/numformat.cxx
@@ -50,7 +50,7 @@ bool NumFmtUtil::isLatinScript( sal_uLong nFormat, ScDocument& rDoc )
OUString aDecSep;
LanguageType nFormatLang = pFormat->GetLanguage();
if (nFormatLang == LANGUAGE_SYSTEM)
- aDecSep = ScGlobal::pLocaleData->getNumDecimalSep();
+ aDecSep = ScGlobal::getLocaleDataPtr()->getNumDecimalSep();
else
{
LocaleDataWrapper aLocaleData(