diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-07 12:47:37 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-07 14:23:14 +0200 |
commit | e6f44f1fc3d0e43db74d24956ce8c74a675effd4 (patch) | |
tree | 4ff64274b4cec18a22f9460a2d34f973f2e7fe75 /sc | |
parent | 18f91ac4ad376826408256e1d9117a5c5dcf377e (diff) |
assert Notify() without container
Change-Id: Ie2a84f58f63737b241222523f6d6c380e727bb89
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/dbdata.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx index 3741725a5ed2..4b58c87afe75 100644 --- a/sc/source/core/tool/dbdata.cxx +++ b/sc/source/core/tool/dbdata.cxx @@ -898,7 +898,9 @@ void ScDBData::Notify( const SfxHint& rHint ) if (nHint & SC_HINT_DATACHANGED) { mbTableColumnNamesDirty = true; - if (mpContainer) + if (!mpContainer) + assert(!"ScDBData::Notify - how did we end up here without container?"); + else { // Only one cell of a range is broadcasted per area listener if // multiple cells are affected. Expand the range to what this is |