[Libreoffice-commits] core.git: sw/inc
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Sat Aug 15 10:53:48 UTC 2020
sw/inc/cellatr.hxx | 2 +-
sw/inc/cellfml.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 71c160de978f615fb7e68fb7413c1d907ae53072
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Sat Aug 15 11:08:02 2020 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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;
More information about the Libreoffice-commits
mailing list