[Libreoffice-commits] core.git: sw/inc
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 25 13:24:19 UTC 2020
sw/inc/postithelper.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 029a6f72f88612e21093f56939aaf5aefbeadeb1
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jun 25 13:31:52 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jun 25 15:23:42 2020 +0200
UBSan needs SwSidebarItem RTTI outside of Library_sw
e.g., <https://ci.libreoffice.org/job/lo_ubsan/1672/>
> DynamicLibraryManagerException: "Failed to load dynamic library: /home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/LinkTarget/CppunitTest/libtest_sw_uiwriter.so
/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/LinkTarget/CppunitTest/libtest_sw_uiwriter.so: undefined symbol: _ZTI13SwSidebarItem"
after e619d685a4ac4e8a20f047be3fe00f5b492553b8 "sw: make postithelper.hxx self-
contained"
Change-Id: I42debde887b7cbd64c28efc4421cf076bc34ee38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97109
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 4aae6100c14f..4a9e9553420a 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -91,7 +91,7 @@ namespace SwPostItHelper
unsigned long getPageInfo( SwRect& rPageFrame, const SwRootFrame* , const Point& );
}
-class SwSidebarItem
+class SAL_DLLPUBLIC_RTTI SwSidebarItem
{
public:
VclPtr<sw::annotation::SwAnnotationWin> pPostIt;
More information about the Libreoffice-commits
mailing list