summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/wordcountdialog.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-26 13:23:37 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 22:02:04 +0100
commit584e6c6051d8a8371941d61603672891a8aa3013 (patch)
treeb1f050db216c528ac8a68521b045b39a051ecdfc /sw/source/ui/dialog/wordcountdialog.cxx
parent45515c06d26d8a37e683f939b60198ee55343e55 (diff)
vcl: VclPtr conversion in sw
Change-Id: Ie084a4b14f8371ff81fe6a95e73660e38cd376f2
Diffstat (limited to 'sw/source/ui/dialog/wordcountdialog.cxx')
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index 2a7392eee793..9f5f562c3990 100644
--- a/sw/source/ui/dialog/wordcountdialog.cxx
+++ b/sw/source/ui/dialog/wordcountdialog.cxx
@@ -46,7 +46,13 @@ IMPL_LINK_NOARG(SwWordCountFloatDlg, CloseHdl)
SwWordCountFloatDlg::~SwWordCountFloatDlg()
{
+ dispose();
+}
+
+void SwWordCountFloatDlg::dispose()
+{
SwViewShell::SetCareWin( 0 );
+ SfxModelessDialog::dispose();
}
namespace