summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-02-21 11:23:43 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-02-21 14:41:16 +0100
commitcfc4a2cfd15760b1fc536c95c3570d916727c31b (patch)
tree39266f780501ebe142d3e889d274156e30cfa87d
parentf64d8d879e78fd3fdf593d3f29c16e5bf270a8cd (diff)
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 <stephan.bergmann@allotropia.de>
-rw-r--r--vcl/inc/canvasbitmap.hxx2
1 files changed, 1 insertions, 1 deletions
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 >