summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dialog/wordcountwrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/dialog/wordcountwrapper.cxx')
-rw-r--r--sw/source/uibase/dialog/wordcountwrapper.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/uibase/dialog/wordcountwrapper.cxx b/sw/source/uibase/dialog/wordcountwrapper.cxx
index 2b5e963484f7..031d034e26bb 100644
--- a/sw/source/uibase/dialog/wordcountwrapper.cxx
+++ b/sw/source/uibase/dialog/wordcountwrapper.cxx
@@ -28,6 +28,11 @@ SwWordCountWrapper::SwWordCountWrapper( vcl::Window *pParentWindow,
SetWindow(xAbstDlg->GetWindow());
}
+SwWordCountWrapper::~SwWordCountWrapper()
+{
+ xAbstDlg.disposeAndClear();
+}
+
SfxChildWinInfo SwWordCountWrapper::GetInfo() const
{
SfxChildWinInfo aInfo = SfxChildWindow::GetInfo();