office-gobmx/basctl
Mike Kaganski 1ac5353bbb Use weak reference to SfxObjectShell in SfxEventHint to avoid use-after-free
The events may be processed after the shell has been destroyed. This is
happening reliably after commit e2bfc34d14
(Reimplement OleComponentNative_Impl to use IGlobalInterfaceTable,
2024-03-11) when controlling LibreOffice from external Java scripts; but
obviously, it could happen before as well.

Now SotObject inherits from cppu::OWeakObject, instead of SvRefBase.

Change-Id: I73a3531499a3068c801c98f40de39bdf8ad90b2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164458
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-03-11 04:43:28 +01:00
..
inc
qa/unit
sdi tdf#140004 Toggle comment in the Basic IDE 2024-02-01 13:37:28 +01:00
source Use weak reference to SfxObjectShell in SfxEventHint to avoid use-after-free 2024-03-11 04:43:28 +01:00
uiconfig/basicide add truncate-multiline for consistency 2024-03-07 09:26:34 +01:00
util
AllLangMoTarget_basctl.mk
CppunitTest_basctl_dialogs_test.mk
IwyuFilter_basctl.yaml
Library_basctl.mk
Makefile
Module_basctl.mk
README.md
UIConfig_basicide.mk

BASIC IDE Controls and Dialogs

Controls and dialogs for BASIC. Contains the BASIC IDE.