From d0f6c4c0dac847112ca83b7b646fc7aa431f480d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 15 May 2025 10:04:41 +0200 Subject: [PATCH] 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 7bb189c3c2c3fb414484e81b9c6bd2f446784cb3 "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 --- vcl/inc/scrollbarvalue.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/inc/scrollbarvalue.hxx b/vcl/inc/scrollbarvalue.hxx index 823232cefe0e..2b0f9d394bf0 100644 --- a/vcl/inc/scrollbarvalue.hxx +++ b/vcl/inc/scrollbarvalue.hxx @@ -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;