[Libreoffice-commits] core.git: cui/source

Caolán McNamara caolanm at redhat.com
Fri Nov 13 04:22:05 PST 2015


 cui/source/dialogs/SpellDialog.cxx |    5 +++++
 cui/source/inc/SpellDialog.hxx     |    1 +
 2 files changed, 6 insertions(+)

New commits:
commit 9c7d3345b02bcf69f28bdbc956a7cedaabe894a0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Nov 13 12:20:22 2015 +0000

    clear VclPtr warning
    
    Change-Id: I13f08989034a656bc6f0ae6b556272802f4b8fc2

diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index bba5132..45f7740 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 c6b5ef8..26ac311 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;}


More information about the Libreoffice-commits mailing list