diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-22 14:28:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-22 14:29:11 +0100 |
commit | 21b3620be84a6b3c87cd7bf317dda506b4e37d2a (patch) | |
tree | b6b5f73567c9ce723fb3a817caa7be9177700635 /sc/source | |
parent | c2befb46193a4644155a1beee9197906be1af780 (diff) |
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
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<ScValidationDlg>::Create(nullptr, &aArgSet, pTabViewShell); + ScopedVclPtr<ScValidationDlg> pDlg(VclPtr<ScValidationDlg>::Create(nullptr, &aArgSet, pTabViewShell)); short nResult = pDlg->Execute(); if ( nResult == RET_OK ) |