sc/source/filter/excel/excrecds.cxx |    1 -
 sc/source/filter/inc/excrecds.hxx   |    2 --
 2 files changed, 3 deletions(-)

New commits:
commit 1c2c18e6b18dfbfd374925d1760860f3b14b663c
Author:     Noel Grandin <[email protected]>
AuthorDate: Tue Dec 23 09:41:38 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Tue Dec 23 12:38:28 2025 +0100

    bDateCompatibility is unused
    
    since
      commit 0c8944956f2d7bde41412668dca0e727de25f9f3
      Author: Justin Luth <[email protected]>
      Date:   Thu Dec 4 08:46:35 2025 -0500
      related tdf#165180 sc:don't export dateCompatibility - strict-xml only
    
    Change-Id: I4708862f5ab987c33e084f4bc14195c668ba9796
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196153
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/sc/source/filter/excel/excrecds.cxx 
b/sc/source/filter/excel/excrecds.cxx
index def9da8bdeca..b9a7c766681a 100644
--- a/sc/source/filter/excel/excrecds.cxx
+++ b/sc/source/filter/excel/excrecds.cxx
@@ -257,7 +257,6 @@ Exc1904::Exc1904( const ScDocument& rDoc )
 {
     const Date& rDate = rDoc.GetFormatTable()->GetNullDate();
     bVal = (rDate == Date( 1, 1, 1904 ));
-    bDateCompatibility = (rDate != Date( 30, 12, 1899 ));
 }
 
 sal_uInt16 Exc1904::GetNum() const
diff --git a/sc/source/filter/inc/excrecds.hxx 
b/sc/source/filter/inc/excrecds.hxx
index 17a99f57105e..151e96bf37c6 100644
--- a/sc/source/filter/inc/excrecds.hxx
+++ b/sc/source/filter/inc/excrecds.hxx
@@ -225,8 +225,6 @@ public:
     virtual sal_uInt16      GetNum() const override;
 
     virtual void            SaveXml( XclExpXmlStream& rStrm ) override;
-private:
-    bool                    bDateCompatibility;
 };
 
 //------------------------------------------------------ class ExcBundlesheet -

Reply via email to