summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/table3.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index ffd5d6f390d8..b0d261f15e17 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -1157,7 +1157,13 @@ public:
return false;
if (pCell)
+ {
+ if (pCell->GetErrorCode())
+ // Error values are compared as string.
+ return false;
+
return pCell->HasValueData();
+ }
return mrTab.HasValueData(nCol, nRow);
}