vcl/inc/impgraph.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0ef2073ac560fcfab102d5363c1cc017694d6abc
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Mon Apr 1 21:16:14 2024 +0200
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Tue Apr 2 07:28:13 2024 +0200

    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 <stephan.bergm...@allotropia.de>

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;

Reply via email to