summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/documen7.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index 1dc49fd5b2e7..8ab7e6014266 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -556,6 +556,9 @@ void ScDocument::FinalTrackFormulas( SfxHintId nHintId )
*/
void ScDocument::TrackFormulas( SfxHintId nHintId )
{
+ if (!pBASM)
+ return;
+
if (pBASM->IsInBulkBroadcast() && !IsFinalTrackFormulas() && nHintId == SfxHintId::ScDataChanged)
{
SetTrackFormulasPending();