sw/inc/unocoll.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9461a6a1cd8f54ffe94f7165551d44051f236288
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Mon Dec 1 16:18:36 2025 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Mon Dec 1 17:56:17 2025 +0100

    UBSan apparently needs SwXFrames and SwXTextSections RTTI now
    
    ...seeing CppunitTest_sw_uiwriter8 failing with
    
    > warn:sal.osl:2288248:2288248:sal/osl/unx/module.cxx:103: 
dlopen(/home/sberg/lo/core/instdir/program/libsw_writerfilterlo.so, 257): 
/home/sberg/lo/core/instdir/program/libsw_writerfilterlo.so: undefined symbol: 
_ZTI9SwXFrames
    
    and
    
    > warn:sal.osl:2291977:2291977:sal/osl/unx/module.cxx:103: 
dlopen(/home/sberg/lo/core/instdir/program/libswuilo.so, 257): 
/home/sberg/lo/core/instdir/program/libswuilo.so: undefined symbol: 
_ZTI15SwXTextSections
    
    Change-Id: Iffd0b1b40f3b8196b8912e1c6157bb7194f58dc6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194892
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/sw/inc/unocoll.hxx b/sw/inc/unocoll.hxx
index c620f9e77fc4..fbb402d9a3ff 100644
--- a/sw/inc/unocoll.hxx
+++ b/sw/inc/unocoll.hxx
@@ -304,7 +304,7 @@ cppu::WeakImplHelper
     css::lang::XServiceInfo
 > SwXFramesBaseClass;
 
-class SwXFrames : public SwXFramesBaseClass,
+class SAL_DLLPUBLIC_RTTI SwXFrames : public SwXFramesBaseClass,
     public SwUnoCollection
 {
     const FlyCntType    m_eType;
@@ -374,7 +374,7 @@ public:
 
 };
 
-class SwXTextSections final : public SwCollectionBaseClass,
+class SAL_DLLPUBLIC_RTTI SwXTextSections final : public SwCollectionBaseClass,
                         public SwUnoCollection
 {
     virtual ~SwXTextSections() override;

Reply via email to