office-gobmx/framework/inc
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
..
classes
dispatch
helper
interaction
jobs
pch
recording
services
threadhelp
uiconfiguration
uielement framework: Deduplicate code setting menu accelerator keys 2024-10-24 09:08:18 +02:00
uifactory
xml
acceleratorconst.h
addonmenu.hxx
bitmaps.hlst
menuconfiguration.hxx
properties.h
protocols.h
services.h
statusbarconfiguration.hxx
stdtypes.h
strings.hrc
targets.h
taskcreatordefs.hxx
toolboxconfiguration.hxx