diff options
Diffstat (limited to 'sc/source/ui/undo/undocell.cxx')
-rw-r--r-- | sc/source/ui/undo/undocell.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index 574ddba62cc4..868dff59a373 100644 --- a/sc/source/ui/undo/undocell.cxx +++ b/sc/source/ui/undo/undocell.cxx @@ -186,7 +186,8 @@ struct DeleteCell : std::unary_function<ScUndoEnterData::Value, void> { void operator() (ScUndoEnterData::Value& rVal) { - rVal.mpCell->Delete(); + if (rVal.mpCell) + rVal.mpCell->Delete(); } }; |