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

New commits:
commit bfbb28d4130a70a821466fa25948c5da5369f973
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Feb 4 09:21:25 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Feb 4 10:37:51 2022 +0100

    UBSan build missing RTTI now
    
    ...e.g. during CppunitTest_sc_copypaste
    
    > [_RUN_____] ScCopyPasteTest::testCopyPasteXLS
    [...]
    > warn:sal.osl:22300:22300:sal/osl/unx/module.cxx:152: 
dlopen(/home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libchartcorelo.so,
 257): 
/home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libchartcorelo.so: 
undefined symbol: _ZTI19SvxShapePolyPolygon
    [...]
    
    (<https://ci.libreoffice.org/job/lo_ubsan/2289/>)
    
    Change-Id: I6b62aa4636b65ae728c462e91e5a024366c95a56
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129481
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index a6ebdeed682d..61cfdd502638 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -621,7 +621,7 @@ public:
 /***********************************************************************
 *                                                                      *
 ***********************************************************************/
-class SvxShapePolyPolygon final : public SvxShapeText
+class SAL_DLLPUBLIC_RTTI SvxShapePolyPolygon final : public SvxShapeText
 {
     using SvxUnoTextRangeBase::setPropertyValue;
     using SvxUnoTextRangeBase::getPropertyValue;

Reply via email to