From 5280121732324eff5a30087a36a50c58524b8ef3 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Sat, 18 Feb 2017 21:18:03 +0200 Subject: Convert RID_MENU_REPORT to xml The change in PopupMenu::ImplExecute is needed because MenuBarManager dispatches commands synchronously, and a command can try to dispose the parent window of the MenuFloatingWindow (e.g. right clicking inside the report header, and choosing "Delete Header"), which will lead to Application::Abort in a debug build. So we must get rid of the MenuFloatingWindow before handling menu selection. Change-Id: I1657cd16a005207abc31f4b65595ab78ed235e37 Reviewed-on: https://gerrit.libreoffice.org/34407 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky --- .../uiconfig/dbreport/popupmenu/report.xml | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 reportdesign/uiconfig/dbreport/popupmenu/report.xml (limited to 'reportdesign/uiconfig/dbreport/popupmenu') diff --git a/reportdesign/uiconfig/dbreport/popupmenu/report.xml b/reportdesign/uiconfig/dbreport/popupmenu/report.xml new file mode 100644 index 000000000000..5605aa9c77b7 --- /dev/null +++ b/reportdesign/uiconfig/dbreport/popupmenu/report.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3