From 0ef2073ac560fcfab102d5363c1cc017694d6abc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 1 Apr 2024 21:16:14 +0200 Subject: [PATCH] Fix UBSan RTTI needs ...vcl_graphic_test now failed with > DynamicLibraryManagerException: "Failed to load dynamic library: workdir/LinkTarget/CppunitTest/libtest_vcl_graphic_test.so > workdir/LinkTarget/CppunitTest/libtest_vcl_graphic_test.so: undefined symbol: _ZTI10ImpGraphic" Change-Id: I1d11a50ef9dbb0003f7bc66540829b43c1412a16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165653 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/inc/impgraph.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx index 23d482aded23..fd6446e1972a 100644 --- a/vcl/inc/impgraph.hxx +++ b/vcl/inc/impgraph.hxx @@ -57,7 +57,7 @@ enum class GraphicContentType : sal_Int32 Vector }; -class ImpGraphic final : public vcl::graphic::MemoryManaged +class SAL_DLLPUBLIC_RTTI ImpGraphic final : public vcl::graphic::MemoryManaged { friend class Graphic; friend class GraphicID;