Kaydet (Commit) e6f44f1f authored tarafından Eike Rathke's avatar Eike Rathke

assert Notify() without container

Change-Id: Ie2a84f58f63737b241222523f6d6c380e727bb89
üst 18f91ac4
...@@ -898,7 +898,9 @@ void ScDBData::Notify( const SfxHint& rHint ) ...@@ -898,7 +898,9 @@ void ScDBData::Notify( const SfxHint& rHint )
if (nHint & SC_HINT_DATACHANGED) if (nHint & SC_HINT_DATACHANGED)
{ {
mbTableColumnNamesDirty = true; 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 // Only one cell of a range is broadcasted per area listener if
// multiple cells are affected. Expand the range to what this is // multiple cells are affected. Expand the range to what this is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment