include/svl/zformat.hxx        |    2 +-
 svl/source/numbers/zformat.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 16d7e0ba71688523f40293625ae2a1dbd9798c63
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Wed Mar 13 12:20:58 2024 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Wed Mar 13 20:17:40 2024 +0100

    SvNumberformat::ImpGetLogicalOutput can be const
    
    Change-Id: I847e5de84f0636b5a169f383e319a6b8707cc31f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164773
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

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();

Reply via email to