office-gobmx/framework
Patrick Luby 2fe53b2e43 Fix crash due to unexpected dynamic_cast failures in optimized build
When an optimized build of this branch is compiled on Silicon Mac,
a dynamic_cast from com.sun.star.awt.XPopupMenu to VCLXPopupMenu
will fail.

The pointer being casted has not been deleted and is an undeleted
instance yet dynamic_cast fails. However, a dynamic_cast to
VCLXPopupMenu's superclass VCLXMenu succeeds so cast to that class
instead.

Change-Id: Ie9ab79df109eece46351545a71325d1e37bde94d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175992
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
2024-11-05 09:42:12 +01:00
..
dtd
inc
qa
source Fix crash due to unexpected dynamic_cast failures in optimized build 2024-11-05 09:42:12 +01:00
uiconfig/startmodule/menubar
util
AllLangMoTarget_fwk.mk
CppunitTest_framework_CheckXTitle.mk
CppunitTest_framework_dispatch.mk
CppunitTest_framework_loadenv.mk
CppunitTest_framework_services.mk
IwyuFilter_framework.yaml
JunitTest_framework_complex.mk
JunitTest_framework_unoapi.mk
Library_fwk.mk
Makefile
Module_framework.mk
Package_dtd.mk
README.md
UIConfig_startmodule.mk

UNO Framework

Toolbars, menus, UNO stuff, including accelerators and interaction, etc.

See Also

http://wiki.openoffice.org/wiki/Framework