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

New commits:
commit 0f9da67c3f165a193568ef8c36f3425e6de853e5
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Sun Dec 29 14:04:24 2024 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Sun Dec 29 16:35:53 2024 +0100

    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 <[email protected]>
    Tested-by: Jenkins

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;

Reply via email to