summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx7
-rw-r--r--sw/source/uibase/inc/swuiidxmrk.hxx1
2 files changed, 7 insertions, 1 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index a1726f11421e..c2f4fa4aca09 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -616,7 +616,6 @@ IMPL_LINK_NOARG_TYPED(SwIndexMarkPane, CloseHdl, Button*, void)
}
else
{
- SwViewShell::SetCareWin( 0 );
m_rDialog.EndDialog();
}
}
@@ -976,6 +975,12 @@ void SwIndexMarkModalDlg::Apply()
m_aContent.Apply();
}
+void SwIndexMarkModalDlg::dispose()
+{
+ SwViewShell::SetCareWin(0);
+ SvxStandardDialog::dispose();
+}
+
class SwCreateAuthEntryDlg_Impl : public ModalDialog
{
VclPtr<FixedText> pFixedTexts[AUTH_FIELD_END];
diff --git a/sw/source/uibase/inc/swuiidxmrk.hxx b/sw/source/uibase/inc/swuiidxmrk.hxx
index 44db42e84b95..41ab57482e67 100644
--- a/sw/source/uibase/inc/swuiidxmrk.hxx
+++ b/sw/source/uibase/inc/swuiidxmrk.hxx
@@ -170,6 +170,7 @@ public:
SwIndexMarkModalDlg(vcl::Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark);
virtual void Apply() override;
+ virtual void dispose() override;
};
class SwAuthMarkModalDlg;