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

New commits:
commit 16be1e7558ba1d3c7da0f7a15a97109bf8ebb2a3
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Feb 17 10:41:48 2026 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Sat Feb 21 20:03:07 2026 +0100

    remove SvNumberformat::GetCurrentLanguageData
    
    Change-Id: I797384d2dc91379a56ac21de20ac19dc54d807e7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199839
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins

diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 05f2c53dee8b..134d04df764c 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -559,7 +559,6 @@ private:
 
     const CharClass& rChrCls() const;
     const LocaleDataWrapper& rLoc() const;
-    const SvNFLanguageData& GetCurrentLanguageData() const;
 
     // divide in substrings and color conditions
     SVL_DLLPRIVATE short ImpNextSymbol( OUStringBuffer& rString,
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 4a983fc0c7b4..a52f909c73f9 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -770,7 +770,7 @@ SvNumberformat::SvNumberformat(OUString& rString,
     // replace all occurrences by a simple space.
     // The same for Narrow No-Break Space just in case some locale uses it.
     // The tokens will be changed to the LocaleData separator again later on.
-    const OUString& rThSep = GetCurrentLanguageData().GetNumThousandSep();
+    const OUString& rThSep = 
rScan.GetCurrentLanguageData().GetNumThousandSep();
     if ( rThSep.getLength() == 1)
     {
         const sal_Unicode cNBSp = 0xA0;
@@ -785,7 +785,7 @@ SvNumberformat::SvNumberformat(OUString& rString,
     OUString aConvertToDecSep;
     if (rScan.GetConvertMode())
     {
-        aConvertFromDecSep = GetCurrentLanguageData().GetNumDecimalSep();
+        aConvertFromDecSep = rScan.GetCurrentLanguageData().GetNumDecimalSep();
         maLocale.meLanguage = rScan.GetNewLnge();
         eLan = maLocale.meLanguage; // Make sure to return switch
     }
@@ -6140,9 +6140,4 @@ const LocaleDataWrapper& SvNumberformat::rLoc() const
     return rScan.GetLoc();
 }
 
-const SvNFLanguageData& SvNumberformat::GetCurrentLanguageData() const
-{
-    return rScan.GetCurrentLanguageData();
-}
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to