summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-20 16:43:26 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-03-21 20:34:44 +0100
commit49189bb8823adc6a76d3f33b34c02d6a640df96a (patch)
tree75d7c38e138f7b501336952a25a0a6f66fd3bcab /svx
parent7c76332b52d9b3b967beecc1fe163eea783c471e (diff)
Related: tdf#160056 this can be static
Change-Id: I1172854a1bf00e74adbe350c54e4e98ea38b0b35 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165072 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/items/numfmtsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index 4f0825a88bca..aa9e668169cb 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -714,7 +714,7 @@ bool SvxNumberFormatShell::IsEssentialFormat_Impl(SvNumFormatType eType, sal_uIn
if (nKey == nCurFormatKey)
return true;
- const NfIndexTableOffset nIndex = pFormatter->GetIndexTableOffset(nKey);
+ const NfIndexTableOffset nIndex = SvNumberFormatter::GetIndexTableOffset(nKey);
switch (nIndex)
{
// These are preferred or edit formats.