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

Julien Nabet serval2412 at yahoo.fr
Mon Oct 24 20:28:06 UTC 2016


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

New commits:
commit 168eb0bfd324be5d0023a8a3ea7ee58f1edbcbb8
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Oct 24 21:53:07 2016 +0200

    tdf#103452: add missing xPopupMenu.disposeAndClear();
    
    See https://bugs.documentfoundation.org/attachment.cgi?id=128226
    
    Change-Id: If6641531b96f33b2864f69bd4195c92548fce148
    Reviewed-on: https://gerrit.libreoffice.org/30234
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index f13aaf8..43fc755 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -369,6 +369,7 @@ void SmEditWindow::Command(const CommandEvent& rCEvt)
         xPopupMenu->SetSelectHdl(LINK(this, SmEditWindow, MenuSelectHdl));
 
         xPopupMenu->Execute( this, aPoint );
+        xPopupMenu.disposeAndClear();
         bForwardEvt = false;
     }
     else if (rCEvt.GetCommand() == CommandEventId::Wheel)


More information about the Libreoffice-commits mailing list