diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 23d518279896..4965ea3f0e3f 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -4327,6 +4327,8 @@ struct ScDependantsCalculator case svSingleRef: { ScSingleRefData aRef = *p->GetSingleRef(); // =Sheet1!A1 + if( aRef.IsDeleted()) + return false; ScAddress aRefPos = aRef.toAbs(mrPos); if (!mrDoc.TableExists(aRefPos.Tab())) @@ -4361,6 +4363,8 @@ struct ScDependantsCalculator case svDoubleRef: { ScComplexRefData aRef = *p->GetDoubleRef(); + if( aRef.IsDeleted()) + return false; ScRange aAbs = aRef.toAbs(mrPos); // Multiple sheet |