sw/inc/cellatr.hxx |    2 +-
 sw/inc/cellfml.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 71c160de978f615fb7e68fb7413c1d907ae53072
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Sat Aug 15 11:08:02 2020 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Sat Aug 15 12:53:09 2020 +0200

    UBSan builds now need SwTableFormula etc. RTTI in Library_msword
    
    ..presumably since cf596c43315bb96b5e7256a82256f1ccb8c9c4d0 "tdf#133163 
DOCX:
    export formula cells", see e.g. CppunitTest_sw_rtfexport3 failing at
    <https://ci.libreoffice.org/job/lo_ubsan/1728/> with
    
    > warn:sal.osl:27291:27291:sal/osl/unx/module.cxx:162: 
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: _ZTI17SwTableBoxFormula
    
    Change-Id: I01f8753ff82e41e84ad5d9806e3582ccd671065e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100762
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx
index 9c4c8a58281b..ede8c654c9c9 100644
--- a/sw/inc/cellatr.hxx
+++ b/sw/inc/cellatr.hxx
@@ -49,7 +49,7 @@ public:
     }
 };
 
-class SwTableBoxFormula : public SfxPoolItem, public SwTableFormula
+class SAL_DLLPUBLIC_RTTI SwTableBoxFormula : public SfxPoolItem, public 
SwTableFormula
 {
     SwModify* m_pDefinedIn;   // Modify object where the formula is located
                             // can only be TableBoxFormat
diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx
index e37b9304bc11..52bd31b37b45 100644
--- a/sw/inc/cellfml.hxx
+++ b/sw/inc/cellfml.hxx
@@ -55,7 +55,7 @@ public:
     void SetLastTableBox( const SwTableBox* pBox )    { m_pLastTableBox = 
pBox; }
 };
 
-class SwTableFormula
+class SAL_DLLPUBLIC_RTTI SwTableFormula
 {
 typedef void (SwTableFormula:: *FnScanFormula)( const SwTable&, 
OUStringBuffer&,
                                                 OUString&, OUString*, void* ) 
const;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to