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>
This commit is contained in:
parent
6677759c29
commit
168eb0bfd3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user