UBSan vclplug_gtk3 needs ScrollbarValue RTTI now

...as running soffice started to report

> warn:sal.osl:2389442:2389442:sal/osl/unx/module.cxx:103: dlopen(.../instdir/program/libvclplug_gtk3lo.so, 257): .../instdir/program/libvclplug_gtk3lo.so: undefined symbol: _ZTI14ScrollbarValue

for me after 7bb189c3c2 "tdf#97228 change
scrollbarvalue code from include/vcl to vcl/" had removed the SAL_DLLPUBLIC_RTTI
that had been present in the old include/vcl/salnativewidgets.hxx

Change-Id: I4c8b7c1e94f1e3d823a59b8bb4479dc32b005854
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185347
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
Stephan Bergmann
2025-05-15 12:00:10 +02:00
parent 55793ae8c8
commit d0f6c4c0da
+1 -1
View File
@@ -25,7 +25,7 @@
*
* Value container for scrollbars.
*/
class ScrollbarValue final : public ImplControlValue
class SAL_DLLPUBLIC_RTTI ScrollbarValue final : public ImplControlValue
{
public:
tools::Long mnMin;