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

loplugin:vclwidgets

"VclReferenceBase subclass dispose() function MUST call dispose() of its
superclass as the last thing it does"

Change-Id: Iab326014d3de805f68729f6d2912f7e960368f11
üst a8f206d9
......@@ -580,7 +580,6 @@ void Dialog::dispose()
mpPrevExecuteDlg.clear();
mpActionArea.clear();
mpContentArea.clear();
SystemWindow::dispose();
css::uno::Reference< css::uno::XComponentContext > xContext(
comphelper::getProcessComponentContext() );
......@@ -588,6 +587,8 @@ void Dialog::dispose()
css::document::DocumentEvent aObject;
aObject.EventName = "DialogClosed";
xEventBroadcaster->documentEventOccured(aObject);
SystemWindow::dispose();
}
IMPL_LINK_NOARG_TYPED(Dialog, ImplAsyncCloseHdl, void*, void)
......
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