diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-20 16:43:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-21 20:34:44 +0100 |
commit | 49189bb8823adc6a76d3f33b34c02d6a640df96a (patch) | |
tree | 75d7c38e138f7b501336952a25a0a6f66fd3bcab /svl | |
parent | 7c76332b52d9b3b967beecc1fe163eea783c471e (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 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 206a0c090d2f..1a5d57437b08 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3540,7 +3540,8 @@ sal_uInt32 SvNumberFormatter::GetFormatIndex( NfIndexTableOffset nTabOff, return nCLOffset + indexTable[nTabOff]; } -NfIndexTableOffset SvNumberFormatter::GetIndexTableOffset( sal_uInt32 nFormat ) const +//static +NfIndexTableOffset SvNumberFormatter::GetIndexTableOffset(sal_uInt32 nFormat) { sal_uInt32 nOffset = nFormat % SV_COUNTRY_LANGUAGE_OFFSET; // relative index if ( nOffset > SV_MAX_COUNT_STANDARD_FORMATS ) |