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

New commits:
commit 1f4009e98caf9ea878b89ae1d93934540a91e753
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Oct 29 13:00:27 2024 +0200
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Wed Oct 30 14:00:00 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/+/175753
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/sc/source/filter/excel/xestyle.cxx 
b/sc/source/filter/excel/xestyle.cxx
index 678327bd1a58..94ab1c1049cd 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -2144,7 +2144,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