diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-25 13:31:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-25 15:23:42 +0200 |
commit | 029a6f72f88612e21093f56939aaf5aefbeadeb1 (patch) | |
tree | 9e4a1dcc4e8cc16600cd76501180a3171e244219 /sw/inc/postithelper.hxx | |
parent | 46a5f75799db710c2456f9dc27db201f9a458789 (diff) |
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@redhat.com>
Diffstat (limited to 'sw/inc/postithelper.hxx')
-rw-r--r-- | sw/inc/postithelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |