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
e3ae86a38d "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 <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2022-10-26 13:34:47 +02:00
parent bef36eed84
commit ffb9dcce39
+1 -1
View File
@@ -259,7 +259,7 @@ private:
};
class SwWrongList
class SAL_DLLPUBLIC_RTTI SwWrongList
{
std::vector<SwWrongArea> maList;
WrongListType meType;