sc/inc/datauno.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 21aad3fb1260988f5c4068c945a34b5233420bfd
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Sun Mar 16 12:02:17 2025 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Sun Mar 16 13:14:06 2025 +0100

    UBSan apparently needs ScDatabaseRangeObj RTTI now
    
    ...as CppunitTest_sc_dataprovider started to fail with
    
    > [_RUN_____] ScDataProvidersTest::testCSVImport
    > warn:sal.osl:2875534:2875534:sal/osl/unx/module.cxx:103: 
dlopen(/home/sberg/lo/core/instdir/program/libscfiltlo.so, 1): 
/home/sberg/lo/core/instdir/program/libscfiltlo.so: undefined symbol: 
_ZTI18ScDatabaseRangeObj
    
    Change-Id: I4c75c770951dd7ed6506ecd35fd574c28c41381d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182995
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/sc/inc/datauno.hxx b/sc/inc/datauno.hxx
index f415dd0f0df1..bcb338dfb36d 100644
--- a/sc/inc/datauno.hxx
+++ b/sc/inc/datauno.hxx
@@ -42,6 +42,7 @@
 #include <com/sun/star/util/XRefreshable.hpp>
 #include <cppuhelper/implbase.hxx>
 #include <rtl/ref.hxx>
+#include <sal/types.h>
 #include <svl/itemprop.hxx>
 #include <svl/lstner.hxx>
 
@@ -384,7 +385,7 @@ public:
     virtual void            PutData( const ScQueryParam& rParam ) override;
 };
 
-class ScDatabaseRangeObj final : public cppu::WeakImplHelper<
+class SAL_DLLPUBLIC_RTTI ScDatabaseRangeObj final : public 
cppu::WeakImplHelper<
                                 css::sheet::XDatabaseRange,
                                 css::util::XRefreshable,
                                 css::container::XNamed,
  • core.git: sc/inc Stephan Bergmann (via logerrit)

Reply via email to