[Libreoffice-commits] core.git: Branch 'feature/vclref' - starmath/source

Michael Meeks michael.meeks at collabora.com
Fri Mar 13 14:38:18 PDT 2015


 starmath/source/view.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7e6700382a45be7425e9daf455bba5a3d03ad888
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri Mar 13 21:42:52 2015 +0000

    converting in-line member to VclPtr needs a disposeAndClear in destructor.
    
    Change-Id: I533eede461d173bd270e5a309fa13aab37bc0a13

diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 5e497ed..5442334 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1982,6 +1982,7 @@ SmViewShell::~SmViewShell()
     SmEditWindow *pEditWin = GetEditWindow();
     if (pEditWin)
         pEditWin->DeleteEditView( *this );
+    aGraphic.disposeAndClear();
 }
 
 void SmViewShell::Deactivate( bool bIsMDIActivate )


More information about the Libreoffice-commits mailing list