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

New commits:
commit ffb9dcce397f5b13b675b5849457bb98ca9c8e8e
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Oct 26 11:46:41 2022 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Oct 26 13:34:47 2022 +0200

    UBSan needs SwWrongList RTTI now
    
    ...during CppunitTest_sw_uiwriter6,
    
    > DynamicLibraryManagerException: "Failed to load dynamic library: 
/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/LinkTarget/CppunitTest/libtest_sw_uiwriter6.so
    > 
/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/LinkTarget/CppunitTest/libtest_sw_uiwriter6.so:
 undefined symbol: _ZTI11SwWrongList"
    
    (<https://ci.libreoffice.org/job/lo_ubsan/2564/>), apparently since
    e3ae86a38d6282db0f54d3545015ed22ee868ae5 "tdf#124603 sw: pressing Up/Down
    triggers pending spell checking"
    
    Change-Id: I52dfe490bd8862e109a1c2f78a95a7e3022a1352
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141870
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx
index df658cbfa50e..805bb859f23d 100644
--- a/sw/source/core/inc/wrong.hxx
+++ b/sw/source/core/inc/wrong.hxx
@@ -259,7 +259,7 @@ private:
 
 };
 
-class SwWrongList
+class SAL_DLLPUBLIC_RTTI SwWrongList
 {
     std::vector<SwWrongArea> maList;
     WrongListType            meType;

Reply via email to