summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-10-10 16:49:35 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-11 11:15:56 +0200
commitc450c73ab7c83a55209cc7de9381cc32eb6313ff (patch)
tree5d890c1a627e7074b83c704fc7038035ec3f3c94 /sc/source/core/data
parentddc9f466c26d40007db069054c6fc43a43319cb4 (diff)
fix for fdo#53814 Revert "there should be no need any more for this check"
This reverts commit bea018a7040c36e91487b27c7b59c6c8a970bf5f. Change-Id: Id554a8f05b82f146a505ac0a39afe14a3161291c (cherry picked from commit cd9d51a36cc3106d4124855874af657615a93061) Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com> Signed-off-by: Jan Holesovsky <kendy@suse.cz> Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/core/data')
-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 15087c551f72..7be749ed91e9 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -386,10 +386,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)