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

New commits:
commit a6d41c61daaf6f0822fc86d790eca19972e4a7c8
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Mon Apr 29 08:19:50 2024 +0200
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Mon Apr 29 13:15:18 2024 +0200

    UBSan needs SwXBookmark RTTI now
    
    ...presumably since 6a11bf9f7bd209a082254c861d5a04c7f5729d68 "use more 
concrete
    UNO classes in writerfilter (SwXBookmark)", failing sw_writerfilter_misc 
with
    
    > DynamicLibraryManagerException: "Failed to load dynamic library: 
workdir/LinkTarget/CppunitTest/libtest_sw_writerfilter_misc.so
    > instdir/program/libsw_writerfilterlo.so: undefined symbol: 
_ZTI11SwXBookmark"
    
    Change-Id: I9f839ca0f6986723cd2c4add5eaef3ac8ab8d841
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166821
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/sw/source/core/inc/unobookmark.hxx 
b/sw/source/core/inc/unobookmark.hxx
index d1d800d9a28e..7082e3c09587 100644
--- a/sw/source/core/inc/unobookmark.hxx
+++ b/sw/source/core/inc/unobookmark.hxx
@@ -46,7 +46,7 @@ typedef ::cppu::ImplInheritanceHelper
 > SwXBookmark_Base;
 
 /// UNO API wrapper around an internal sw::mark::IMark.
-class SwXBookmark
+class SAL_DLLPUBLIC_RTTI SwXBookmark
     : public SwXBookmark_Base
 {
 

Reply via email to