Replace MenuToolbarController with the usual approach for menu buttons

Desktop / LibreOffice - Maxim Monastirsky [gmail.com] - 14 August 2020 15:03 UTC

i.e. ResourceMenuController + GenericPopupToolbarController. (Decl. of both isn't available in a header file, so they are instantiated
via the service manager for now. This is a bit weird for something from the same module, but should not make any difference in practice.)

Change-Id: Ia3fc7ba82b0f6e1a43aa7b5e56e2cff7e039d877 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100725

c5301f215fec Replace MenuToolbarController with the usual approach for menu buttons
.../inc/uielement/generictoolbarcontroller.hxx | 22 -----
.../source/uielement/generictoolbarcontroller.cxx | 95 ----------------------
.../source/uielement/popuptoolbarcontroller.cxx | 33 ++++++--
.../source/uielement/resourcemenucontroller.cxx | 4 +
framework/source/uielement/toolbarmanager.cxx | 3 +-
5 files changed, 33 insertions(+), 124 deletions(-)

Upstream: cgit.freedesktop.org


  • Share