[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/source

Caolán McNamara caolanm at redhat.com
Wed Jul 8 01:34:58 PDT 2015


 sc/source/ui/miscdlgs/anyrefdg.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit f932f1197e1cabd901231223dc9c7ce9c171120e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jul 7 13:46:41 2015 +0100

    Related: tdf#92392 clear some more vclptrs on dispose
    
    Change-Id: I91b8d082ff19328e35e2f1c2a02838d96224dc9c
    (cherry picked from commit 8e20a25319e16d2f74e18696480556bc841a1679)
    Reviewed-on: https://gerrit.libreoffice.org/16831
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index 6208048..870692c 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -83,6 +83,11 @@ void ScFormulaReferenceHelper::dispose()
         pInputHdl->ResetDelayTimer();   // stop the timer for disabling the input line
 
     pAccel.reset();
+
+    mpOldEditParent.clear();
+    m_pWindow.clear();
+    pRefBtn.clear();
+    pRefEdit.clear();
 }
 
 void ScFormulaReferenceHelper::enableInput( bool bEnable )


More information about the Libreoffice-commits mailing list