summaryrefslogtreecommitdiff
path: root/sc/source/filter/xcl97
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-17 08:54:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-17 14:46:24 +0200
commitc8226655a8d838d15af7de3ba1fa5c47546b6ada (patch)
tree4100bc5b29edb72bd3f4ffeeccfbf6879ac8f801 /sc/source/filter/xcl97
parentfec9c3d6f272d45a73dd4dad390a69e444ffc9e2 (diff)
rather return ref from getLocaleDataPtr
since we never return a nullptr, and rename to reflect that Change-Id: I694b5198f663842d1362504d60e7191e450a08ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122224 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/xcl97')
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 3d8f1e595473..38c0cbf7be94 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -1512,7 +1512,7 @@ ExcEScenario::ExcEScenario( const XclExpRoot& rRoot, SCTAB nTab )
sText = ::rtl::math::doubleToUString( fVal,
rtl_math_StringFormat_Automatic,
rtl_math_DecimalPlaces_Max,
- ScGlobal::getLocaleDataPtr()->getNumDecimalSep()[0],
+ ScGlobal::getLocaleData().getNumDecimalSep()[0],
true );
}
else