diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-10-29 13:00:27 +0200 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-10-30 14:00:00 +0100 |
commit | 1f4009e98caf9ea878b89ae1d93934540a91e753 (patch) | |
tree | 6caab6f1e4d84f9509ff8ca8bf84864f2b7aa6ec /sc | |
parent | 5690f62d3226d6a91dfdc79489b74c726870f683 (diff) |
fix bug in XclExpXF::Init (tdf#163667 related)
looks like a copy/paste error from
commit d0f8daa0980ba8e403b32006831657c5a0a4ea17
Author: Eike Rathke <erack@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 <jenkinscollaboraoffice@gmail.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xestyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |