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:
@@ -369,6 +369,7 @@ void SmEditWindow::Command(const CommandEvent& rCEvt)
|
|||||||
xPopupMenu->SetSelectHdl(LINK(this, SmEditWindow, MenuSelectHdl));
|
xPopupMenu->SetSelectHdl(LINK(this, SmEditWindow, MenuSelectHdl));
|
||||||
|
|
||||||
xPopupMenu->Execute( this, aPoint );
|
xPopupMenu->Execute( this, aPoint );
|
||||||
|
xPopupMenu.disposeAndClear();
|
||||||
bForwardEvt = false;
|
bForwardEvt = false;
|
||||||
}
|
}
|
||||||
else if (rCEvt.GetCommand() == CommandEventId::Wheel)
|
else if (rCEvt.GetCommand() == CommandEventId::Wheel)
|
||||||
|
Reference in New Issue
Block a user