From 21b3620be84a6b3c87cd7bf317dda506b4e37d2a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 22 Feb 2016 14:28:13 +0100 Subject: Missing dispose of dialog ...causing crash later at > SfxItemPool::GetFrozenIdRanges() const > SfxItemSet::~SfxItemSet() > SfxTabDialog::dispose() > ScRefHdlrImpl::dispose() > ScValidationDlg::dispose() > OutputDevice::disposeOnce() > VclPtr::disposeAndClear() > vcl::LazyDeletor::~LazyDeletor() > vcl::LazyDelete::flush() > ImplYield(bool, bool, unsigned long) > Application::Yield() Change-Id: Ia4ae95cbbf4b5660ed08058b67ab674029c0b437 --- sc/source/ui/view/cellsh2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index f5be22545c7d..70c0af5d6fb7 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -849,7 +849,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) } // cell range picker - auto pDlg = VclPtr::Create(nullptr, &aArgSet, pTabViewShell); + ScopedVclPtr pDlg(VclPtr::Create(nullptr, &aArgSet, pTabViewShell)); short nResult = pDlg->Execute(); if ( nResult == RET_OK ) -- cgit