From 2cf33119ab461befc7226cc532593a5435ab3167 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 3 May 2013 20:23:53 -0400 Subject: Add this back. This was removed by accident. Change-Id: I9efa8dad078ca4f0bf1d338a5aab72ff7e65980f --- sc/source/core/data/table3.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- cgit v1.2.3