summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table3.cxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-10-10 16:49:35 +0100
committerNoel Power <noel.power@suse.com>2012-10-10 16:50:49 +0100
commit44e8a8240a3a1cce747f1998e617f8dd4621a992 (patch)
tree10991c2737e7261b12cea1b6e2f1a157fc74a58e /sc/source/core/data/table3.cxx
parent76987f83c84b4cc7163f9065a7eed219eefa39a1 (diff)
fix for fdo#53814 Revert "there should be no need any more for this check"
Diffstat (limited to 'sc/source/core/data/table3.cxx')
-rw-r--r--sc/source/core/data/table3.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 2e1c57d0380b..28c534242f2c 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)