summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-12-29 14:04:24 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-12-29 16:35:53 +0100
commit0f9da67c3f165a193568ef8c36f3425e6de853e5 (patch)
treef59e5a149d42cce51fde0e2291371a2784a38244
parentb0ed190986fab0c57d5933b4d4a41a9be72e3f1b (diff)
UBSan apparently needs SwAnnotationItem RTTI now
...as CppunitTest_sw_uiwriter5 started to fail with > DynamicLibraryManagerException: "Failed to load dynamic library: /home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/LinkTarget/CppunitTest/libtest_sw_uiwriter5.so > /home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/LinkTarget/CppunitTest/libtest_sw_uiwriter5.so: undefined symbol: _ZTI16SwAnnotationItem" (<https://ci.libreoffice.org/job/lo_ubsan/3414/>) Change-Id: Ibd7a7010beb1c7a25e9477f18998694dc9528d6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179505 Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Tested-by: Jenkins
-rw-r--r--sw/inc/postithelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 30c9606a0d4d..01636efdeb1b 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -94,7 +94,7 @@ namespace SwPostItHelper
void ImportHTML(Outliner& rOutliner, const OUString& rHtml);
}
-class SwAnnotationItem final
+class SAL_DLLPUBLIC_RTTI SwAnnotationItem final
{
public:
VclPtr<sw::annotation::SwAnnotationWin> mpPostIt;