summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-13 12:20:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-13 12:20:27 +0000
commit9c7d3345b02bcf69f28bdbc956a7cedaabe894a0 (patch)
treef51cf27a2f6ea3ef876180038e8984065505d191 /cui
parentde0a391137080a18e73f315b6dc5342b5b078574 (diff)
clear VclPtr warning
Change-Id: I13f08989034a656bc6f0ae6b556272802f4b8fc2
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx5
-rw-r--r--cui/source/inc/SpellDialog.hxx1
2 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index bba5132593b2..45f7740e90f2 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -1199,6 +1199,11 @@ SentenceEditWindow_Impl::SentenceEditWindow_Impl(vcl::Window * pParent, WinBits
DisableSelectionOnFocus();
}
+SentenceEditWindow_Impl::~SentenceEditWindow_Impl()
+{
+ disposeOnce();
+}
+
VCL_BUILDER_DECL_FACTORY(SentenceEditWindow)
{
(void)rMap;
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx
index c6b5ef8b0c0e..26ac311758c4 100644
--- a/cui/source/inc/SpellDialog.hxx
+++ b/cui/source/inc/SpellDialog.hxx
@@ -80,6 +80,7 @@ protected:
public:
SentenceEditWindow_Impl(vcl::Window* pParent, WinBits nBits);
+ ~SentenceEditWindow_Impl();
void Init(VclPtr<ToolBox> &rToolbar);
void SetModifyHdl(const Link<Edit&,void>& rLink) override { m_aModifyLink = rLink;}