diff options
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 5 | ||||
-rw-r--r-- | cui/source/inc/SpellDialog.hxx | 1 |
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;} |