chart2/source/inc/RegressionCurveModel.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7f60111fe347e6b2f0412c3e6ea2150ac9fd3279
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Feb 2 14:58:54 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Feb 2 18:17:54 2022 +0100

    UBSan build missing RTTI now
    
    ...e.g. during CppunitTest_chart2_import2
    
    > [_RUN_____] Chart2ImportTest2::testTdf114179
    [...]
    > warn:sal.osl:1990837:1990837:sal/osl/unx/module.cxx:152: 
dlopen(instdir/program/libchartcontrollerlo.so, 257): 
instdir/program/libchartcontrollerlo.so: undefined symbol: 
_ZTIN5chart20RegressionCurveModelE
    [...]
    
    Change-Id: I2c89fef471139f7b5417aadf1321d2da4f4ffec3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129367
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/chart2/source/inc/RegressionCurveModel.hxx 
b/chart2/source/inc/RegressionCurveModel.hxx
index 5c32ae5e6215..c7e48a82624b 100644
--- a/chart2/source/inc/RegressionCurveModel.hxx
+++ b/chart2/source/inc/RegressionCurveModel.hxx
@@ -23,6 +23,7 @@
 #include <cppuhelper/basemutex.hxx>
 #include <cppuhelper/implbase.hxx>
 #include <comphelper/uno3.hxx>
+#include <sal/types.h>
 
 #include <com/sun/star/chart2/XRegressionCurve.hpp>
 
@@ -46,7 +47,7 @@ typedef ::cppu::WeakImplHelper<
     RegressionCurveModel_Base;
 }
 
-class RegressionCurveModel :
+class SAL_DLLPUBLIC_RTTI RegressionCurveModel :
         public cppu::BaseMutex,
         public impl::RegressionCurveModel_Base,
         public ::property::OPropertySet

Reply via email to