diff options
Diffstat (limited to 'sw/source/ui/fldui/fldedt.cxx')
-rw-r--r-- | sw/source/ui/fldui/fldedt.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx index cfa614b712ab..94273c93dcae 100644 --- a/sw/source/ui/fldui/fldedt.cxx +++ b/sw/source/ui/fldui/fldedt.cxx @@ -222,12 +222,17 @@ SfxTabPage* SwFieldEditDlg::CreatePage(sal_uInt16 nGroup) return GetTabPage(); } -SwFieldEditDlg::~SwFieldEditDlg() +void SwFieldEditDlg::ImplDestroy() { SwViewShell::SetCareDialog(nullptr); m_pSh->EnterStdMode(); } +SwFieldEditDlg::~SwFieldEditDlg() +{ + suppress_fun_call_w_exception(ImplDestroy()); +} + void SwFieldEditDlg::EnableInsert(bool bEnable) { if( bEnable && m_pSh->IsReadOnlyAvailable() && m_pSh->HasReadonlySel() ) |