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

Missing dispose of dialog

...causing crash later at

> SfxItemPool::GetFrozenIdRanges() const
> SfxItemSet::~SfxItemSet()
> SfxTabDialog::dispose()
> ScRefHdlrImpl<ScValidationDlg, SfxTabDialog, false>::dispose()
> ScValidationDlg::dispose()
> OutputDevice::disposeOnce()
> VclPtr<vcl::Window>::disposeAndClear()
> vcl::LazyDeletor::~LazyDeletor()
> vcl::LazyDelete::flush()
> ImplYield(bool, bool, unsigned long)
> Application::Yield()

Change-Id: Ia4ae95cbbf4b5660ed08058b67ab674029c0b437
üst c2befb46
......@@ -849,7 +849,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
}
// cell range picker
auto pDlg = VclPtr<ScValidationDlg>::Create(nullptr, &aArgSet, pTabViewShell);
ScopedVclPtr<ScValidationDlg> pDlg(VclPtr<ScValidationDlg>::Create(nullptr, &aArgSet, pTabViewShell));
short nResult = pDlg->Execute();
if ( nResult == RET_OK )
......
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