sc/source/filter/oox/condformatbuffer.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit a67ab7ea6f090ee90871bfb97243b9cd66b44af4
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri Jun 27 12:00:02 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Fri Jun 27 13:58:10 2025 +0200

    tdf#167019 Conditional formatting is not handled properly
    
    regression from
        commit e2cc1f8a6bd27907800416a5396942a0c7ca56ce
        Author: Noel Grandin <[email protected]>
        Date:   Fri Feb 28 10:51:44 2025 +0200
        tdf#134864 speedup load of pathological conditional formats in XLS
    
    Change-Id: I9e9383e9ccb572e7cbca2b4f32c95213e6464a92
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187094
    Reviewed-by: Noel Grandin <[email protected]>
    Tested-by: Jenkins

diff --git a/sc/source/filter/oox/condformatbuffer.cxx 
b/sc/source/filter/oox/condformatbuffer.cxx
index 1739b71b7915..4bde48c3899e 100644
--- a/sc/source/filter/oox/condformatbuffer.cxx
+++ b/sc/source/filter/oox/condformatbuffer.cxx
@@ -1440,6 +1440,8 @@ private:
     }
     bool equals(const CondFormatRuleModel& lhs, const CondFormatRuleModel& 
rhs) const
     {
+        if (lhs.maFormulas != rhs.maFormulas)
+            return false;
         if (lhs.maText != rhs.maText)
             return false;
         // we skip mnPriority, because that is implicitly compared by the 
ordering of these objects

Reply via email to