sc/source/ui/view/cellsh2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 21b3620be84a6b3c87cd7bf317dda506b4e37d2a Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Feb 22 14:28:13 2016 +0100 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 diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index f5be225..70c0af5 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<ScValidationDlg>::Create(nullptr, &aArgSet, pTabViewShell); + ScopedVclPtr<ScValidationDlg> pDlg(VclPtr<ScValidationDlg>::Create(nullptr, &aArgSet, pTabViewShell)); short nResult = pDlg->Execute(); if ( nResult == RET_OK ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits