sw/source/core/text/porlay.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f3c9adfbe50f3b74d5f6bbcf2f76132da1916751 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Thu Mar 7 08:27:06 2024 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Thu Mar 7 10:38:50 2024 +0100 Fix UBSan build's RTTI needs ...after 0ed1cb5457a2106316f9d7fda10685360db4bc30 "make more symbols private in writer" had caused CppunitTest_sw_core_text to fail with > DynamicLibraryManagerException: "Failed to load dynamic library: workdir/LinkTarget/CppunitTest/libtest_sw_core_text.so > workdir/LinkTarget/CppunitTest/libtest_sw_core_text.so: undefined symbol: _ZTI12SwLineLayout" Change-Id: I3f1fb7d6bca2ec726851c39919dddeeabb618542 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164520 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/sw/source/core/text/porlay.hxx b/sw/source/core/text/porlay.hxx index 6da1895d0161..fe8aeb861e50 100644 --- a/sw/source/core/text/porlay.hxx +++ b/sw/source/core/text/porlay.hxx @@ -75,7 +75,7 @@ public: /// Collection of SwLinePortion instances, representing one line of text. /// Typically owned by an SwParaPortion. -class SwLineLayout : public SwTextPortion +class SAL_DLLPUBLIC_RTTI SwLineLayout : public SwTextPortion { private: SwLineLayout *m_pNext; // The next Line