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

New commits:
commit cfc4a2cfd15760b1fc536c95c3570d916727c31b
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Wed Feb 21 11:23:43 2024 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Wed Feb 21 14:41:16 2024 +0100

    Fix UBSan build's RTTI needs
    
    ...after 3ba92b5f1eaf7d4447a0943ea260db515ca799dc "hide more symbols" had 
caused
    CppunitTest_vcl_text to fail with
    
    > DynamicLibraryManagerException: "Failed to load dynamic library: 
/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/LinkTarget/CppunitTest/libtest_vcl_text.so
    > 
/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/LinkTarget/CppunitTest/libtest_vcl_text.so:
 undefined symbol: _ZTIN3vcl8unotools15VclCanvasBitmapE"
    > Path (length: 252) is 
'/home/tdf/lode/opt/bin:/etc/alternatives/java_sdk_11/bin:/opt/rh/gcc-toolset-12/root/usr/bin:/home/tdf/.local/bin:/home/tdf/bin:/usr/share/Modules/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/etc/alternatives/java_sdk_17/bin'
    
    (<https://ci.libreoffice.org/job/lo_ubsan/3080/>)
    
    Change-Id: Ib0a82e185a8600955704f8026238b511d46acc56
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163685
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/vcl/inc/canvasbitmap.hxx b/vcl/inc/canvasbitmap.hxx
index 16f283c038a2..d6ac581e0aff 100644
--- a/vcl/inc/canvasbitmap.hxx
+++ b/vcl/inc/canvasbitmap.hxx
@@ -30,7 +30,7 @@
 
 namespace vcl::unotools
 {
-    class VclCanvasBitmap final :
+    class SAL_DLLPUBLIC_RTTI VclCanvasBitmap final :
         public cppu::WeakImplHelper< css::rendering::XIntegerReadOnlyBitmap,
                                      css::rendering::XBitmapPalette,
                                      css::rendering::XIntegerBitmapColorSpace >

Reply via email to