sc/source/filter/xml/xmlcelli.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4ad3605166c91193b3dbf41ed33515e267133f90 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Apr 17 09:17:43 2023 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Apr 17 14:53:05 2023 +0200 tdf#151560 don't crash on loading dubious fods Change-Id: Ib41b3a95dd3829e8d3eca61621257fdd416bd8dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150498 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> Tested-by: Jenkins diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 7ae3aaaa6e35..7288c631f68c 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -1483,7 +1483,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); }