diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2016-10-24 21:53:07 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2016-10-24 20:27:40 +0000 |
commit | 168eb0bfd324be5d0023a8a3ea7ee58f1edbcbb8 (patch) | |
tree | a72ac9003f779a91a51f94cf8b3c6c5f211d80c2 /starmath | |
parent | 6677759c29620796540a0265c4f6d0671f6a42c6 (diff) |
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@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/edit.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index f13aaf8c6246..43fc7557e7e2 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) |