sc/source/filter/excel/xestyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 77fc900cfaf9d8b8fa0edb48ef38e0bdf7f2091d
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Oct 29 13:00:27 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Oct 30 08:52:06 2024 +0100

    fix bug in XclExpXF::Init (tdf#163667 related)
    
    looks like a copy/paste error from
       commit d0f8daa0980ba8e403b32006831657c5a0a4ea17
        Author: Eike Rathke <er...@redhat.com>
        Date:   Wed Aug 22 13:16:19 2018 +0200
    Resolves: tdf#73063 preserve and roundtrip LCID from/to Excel number
    formats
    
    Found while debugging the file in the associated bug.
    
    Change-Id: I6816290c90d6271f43416a7417cb2a0341da928c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175781
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sc/source/filter/excel/xestyle.cxx 
b/sc/source/filter/excel/xestyle.cxx
index 48cf7d8b2cc2..ece9f1c2333a 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -2147,7 +2147,7 @@ void XclExpXF::Init( const SfxItemSet& rItemSet, 
sal_Int16 nScript,
 
     // number format
     if (nForceScNumFmt != NUMBERFORMAT_ENTRY_NOT_FOUND)
-        mnXclNumFmt = nForceScNumFmt;
+        mnScNumFmt = nForceScNumFmt;
     else
     {
         // Built-in formats of dedicated languages may be attributed using the

Reply via email to