sw/inc/docufld.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ff9ca4a26481afb795f4b25ee9ec92bade5df269
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Tue Jul 8 08:08:16 2025 +0200
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Tue Jul 8 09:17:35 2025 +0200

    UBSan apparently needs some Sw*Field RTTI now
    
    > warn:sal.osl:979355:979355:sal/osl/unx/module.cxx:103: 
dlopen(/home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libmswordlo.so,
 257): 
/home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libmswordlo.so: 
undefined symbol: _ZTI13SwAuthorField
    
    during CppunitTest_sw_rtfexport4
    (<https://ci.libreoffice.org/job/lo_ubsan/3616/>), etc.
    
    Change-Id: Ia1fbf6c10192bc114ec05aae9ad994598971718c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187527
    Reviewed-by: Stephan Bergmann <[email protected]>
    Tested-by: Jenkins

diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 393632a29497..ae6c51707788 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -206,7 +206,7 @@ public:
     virtual std::unique_ptr<SwFieldType> Copy() const override;
 };
 
-class SwAuthorField final : public SwField
+class SAL_DLLPUBLIC_RTTI SwAuthorField final : public SwField
 {
     OUString m_aContent;
     SwAuthorFormat m_nFormat;
@@ -615,7 +615,7 @@ public:
     virtual std::unique_ptr<SwFieldType> Copy() const override;
 };
 
-class SwExtUserField final : public SwField
+class SAL_DLLPUBLIC_RTTI SwExtUserField final : public SwField
 {
     OUString m_aContent;
     sal_uInt16  m_nType;
@@ -731,7 +731,7 @@ public:
     SwCharFormat* GetCharFormat();
 };
 
-class SwJumpEditField final : public SwField
+class SAL_DLLPUBLIC_RTTI SwJumpEditField final : public SwField
 {
     OUString m_sText;
     OUString m_sHelp;

Reply via email to