Kaydet (Commit) 7627008b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clear() an SdPage while it is still an SdPage

... because when Clear() is later called in the SdrObjList sub-object dtor,
freed SdrObject dtors may call back via SdrObject::SendUserCall into this
virtual SdPage::Changed, but then this is only an SdrObjList, causing undef
behavior.

Change-Id: I09a2d1445a51a70e8f795ff869027899ad0f528b
üst 9b64eed1
...@@ -147,6 +147,8 @@ SdPage::~SdPage() ...@@ -147,6 +147,8 @@ SdPage::~SdPage()
if( mpItems ) if( mpItems )
delete mpItems; delete mpItems;
Clear();
} }
struct OrdNumSorter struct OrdNumSorter
......
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