diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-13 12:20:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-13 20:17:40 +0100 |
commit | 16d7e0ba71688523f40293625ae2a1dbd9798c63 (patch) | |
tree | 197240d1535ea6b21c1c0e2d89d8c2f3235253d3 | |
parent | 8e3d3ed2681c8454fd5a7d7a7c144d90615d09e0 (diff) |
SvNumberformat::ImpGetLogicalOutput can be const
Change-Id: I847e5de84f0636b5a169f383e319a6b8707cc31f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164773
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | include/svl/zformat.hxx | 2 | ||||
-rw-r--r-- | svl/source/numbers/zformat.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx index 39ffd70f345c..9b584ad5877d 100644 --- a/include/svl/zformat.hxx +++ b/include/svl/zformat.hxx @@ -701,7 +701,7 @@ private: SVL_DLLPRIVATE bool ImpGetLogicalOutput( double fNumber, sal_uInt16 nIx, - OUStringBuffer& OutString ); + OUStringBuffer& OutString ) const; SVL_DLLPRIVATE bool ImpGetNumberOutput( double fNumber, sal_uInt16 nIx, diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 02aeacccc5b5..3948c5f70206 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -4329,7 +4329,7 @@ bool SvNumberformat::ImpGetDateTimeOutput(double fNumber, bool SvNumberformat::ImpGetLogicalOutput(double fNumber, sal_uInt16 nIx, - OUStringBuffer& sStr) + OUStringBuffer& sStr) const { bool bRes = false; const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); |