office-gobmx/framework/inc/uielement
Michael Weghorn bf4d51b46c framework: Deduplicate code setting menu accelerator keys
Introduce new helper method MenuBarManager::SetAcceleratorKeys
and call that from both places that are setting accelerator
keys, to deduplicate code and simplify future maintenance.

The use in MenuBarManager::FillMenuManager was introduced in

    commit 08fe2669a0
    Author: Rüdiger Timm <rt@openoffice.org>
    Date:   Fri May 13 06:29:54 2005 +0000

        INTEGRATION: CWS tbe22 (1.25.30); FILE MERGED
        2005/05/04 14:21:00 tbe 1.25.30.1: #i48612# Opening a menu with GOK shows Tips instead of entries (fixed by CD)

and looks like it was primarily copy-pasted from the
other place.

Change-Id: I2097619740d45260e534ce06f9941337177f1bde
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175509
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-10-24 09:08:18 +02:00
..
addonstoolbarwrapper.hxx
buttontoolbarcontroller.hxx
comboboxtoolbarcontroller.hxx
commandinfo.hxx
complextoolbarcontroller.hxx
constitemcontainer.hxx
dropdownboxtoolbarcontroller.hxx
edittoolbarcontroller.hxx
FixedImageToolbarController.hxx
FixedTextToolbarController.hxx
fontmenucontroller.hxx
fontsizemenucontroller.hxx
footermenucontroller.hxx
genericstatusbarcontroller.hxx
headermenucontroller.hxx
imagebuttontoolbarcontroller.hxx
itemcontainer.hxx
langselectionmenucontroller.hxx
macrosmenucontroller.hxx
menubarmanager.hxx
menubarmerger.hxx
menubarwrapper.hxx
newmenucontroller.hxx
progressbarwrapper.hxx
rootitemcontainer.hxx
spinfieldtoolbarcontroller.hxx
statusbar.hxx
statusbaritem.hxx
statusbarmanager.hxx
statusbarmerger.hxx
statusbarwrapper.hxx
statusindicatorinterfacewrapper.hxx
styletoolbarcontroller.hxx
togglebuttontoolbarcontroller.hxx
toolbarmanager.hxx
toolbarmerger.hxx
toolbarmodemenucontroller.hxx
toolbarsmenucontroller.hxx
toolbarwrapper.hxx
uicommanddescription.hxx
uielement.hxx
uielementtypenames.hxx