sc/source/ui/undo/undocell.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 41854c237d02ffea5454aff9603352046fbf80ae Author: Kohei Yoshida <kohei.yosh...@gmail.com> Date: Thu Mar 21 22:09:53 2013 -0400 Don't forget to check for NULL pointer here, else it would crash. Change-Id: I497a8f5a6210e0b03fb12adc376cfa3a11d2d47c diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index 574ddba..868dff5 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(); } }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits