include/svx/unoshape.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3773dd5bb42f78300446b8c6c0b5c58b8bbb3728
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Jan 5 16:12:59 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Jan 5 19:05:44 2022 +0100

    Missing RTTI for UBSan
    
    ...which caused e.g. CppunitTest_chart2_export to emit lots of
    
    > warn:sal.osl:3446618:3446618:sal/osl/unx/module.cxx:155: 
dlopen(.../instdir/program/libchartcorelo.so, 257): 
.../instdir/program/libchartcorelo.so: undefined symbol: _ZTI12SvxShapeRect
    
    Change-Id: I26b0ad58ad6fa577e0e8299dde80bcac444f9504
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128012
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index 69e1fe024424..20cbf28f6d89 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -394,7 +394,7 @@ public:
     virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId(  ) 
override;
 };
 
-class SvxShapeRect final : public SvxShapeText
+class SAL_DLLPUBLIC_RTTI SvxShapeRect final : public SvxShapeText
 {
 public:
     SVXCORE_DLLPUBLIC SvxShapeRect(SdrObject* pObj);

Reply via email to