summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx
index dbbfccf5a5a0..c2841fa33c7f 100644
--- a/sc/source/filter/xml/xmlcelli.cxx
+++ b/sc/source/filter/xml/xmlcelli.cxx
@@ -1493,7 +1493,7 @@ bool ScXMLTableRowCellContext::IsPossibleErrorString() const
return false;
else if(mbNewValueType && mbErrorValue)
return true;
- return mbPossibleErrorCell || (mbCheckWithCompilerForError &&
+ return mbPossibleErrorCell || (mbCheckWithCompilerForError && maStringValue &&
GetScImport().GetFormulaErrorConstant(*maStringValue) != FormulaError::NONE);
}