[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 10 08:51:47 PDT 2012


 sc/source/core/data/table3.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 44e8a8240a3a1cce747f1998e617f8dd4621a992
Author: Noel Power <noel.power at suse.com>
Date:   Wed Oct 10 16:49:35 2012 +0100

    fix for fdo#53814 Revert "there should be no need any more for this check"
    
    This reverts commit bea018a7040c36e91487b27c7b59c6c8a970bf5f.

diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 2e1c57d..28c5342 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -387,10 +387,14 @@ short ScTable::CompareCell( sal_uInt16 nSort,
     if (pCell1)
     {
         eType1 = pCell1->GetCellType();
+        if (eType1 == CELLTYPE_NOTE)
+            pCell1 = NULL;
     }
     if (pCell2)
     {
         eType2 = pCell2->GetCellType();
+        if (eType2 == CELLTYPE_NOTE)
+            pCell2 = NULL;
     }
 
     if (pCell1)


More information about the Libreoffice-commits mailing list