summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-05-03 20:23:53 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-05-09 13:34:33 -0400
commit2cf33119ab461befc7226cc532593a5435ab3167 (patch)
treeb3bf25b8de3da5d502bb3cddf5170c0f50acd4b9
parent62f119b5d1c786203448c3a208fd2a2ffd26b835 (diff)
Add this back. This was removed by accident.
Change-Id: I9efa8dad078ca4f0bf1d338a5aab72ff7e65980f
-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 a668a2c9a166..d1ef841faaee 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -377,6 +377,10 @@ short ScTable::CompareCell( sal_uInt16 nSort,
short nRes = 0;
CellType eType1 = CELLTYPE_NONE, eType2 = CELLTYPE_NONE;
+ if (pCell1)
+ eType1 = pCell1->GetCellType();
+ if (pCell2)
+ eType2 = pCell2->GetCellType();
if (pCell1)
{