summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-02-20 17:52:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-20 20:52:41 +0100
commitd04f64c0681c756386067f96b1cd9b89966d0e7c (patch)
treec62301a360cc2a7037e4ef43567ac228349779c2 /sc
parentd0e501021dac1a16d93e0e17235b399072d0058c (diff)
fix linking error
seen by David Gilbert: /usr/bin/ld: /discs/fast/core/workdir/CxxObject/sc/source/ui/vba/vbaeventshelper.o: in function `com::sun::star::uno::Reference<com::sun::star::sheet::XSheetCellRangeContainer>::Reference(com::sun::star::sheet::XSheetCellRangeContainer*)': /discs/fast/core/include/com/sun/star/uno/Reference.hxx:161: undefined reference to `non-virtual thunk to ScCellRangesObj::acquire()' after commit 3ba92b5f1eaf7d4447a0943ea260db515ca799dc Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Thu Feb 15 10:04:51 2024 +0200 hide more symbols Change-Id: Id5e21aec323c2779ded464b6a0f8428705dfd0ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163663 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cellsuno.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 2dd539749766..e64c1065d5c7 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -372,7 +372,7 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-class ScCellRangesObj final : public ScCellRangesBase,
+class UNLESS_MERGELIBS(SC_DLLPUBLIC) ScCellRangesObj final : public ScCellRangesBase,
public css::sheet::XSheetCellRangeContainer,
public css::container::XNameContainer,
public css::container::XEnumerationAccess
@@ -391,7 +391,8 @@ private:
rtl::Reference<ScCellRangeObj> GetObjectByIndex_Impl(sal_Int32 nIndex) const;
public:
- SC_DLLPUBLIC ScCellRangesObj(ScDocShell* pDocSh, const ScRangeList& rR);
+ IF_MERGELIBS(SC_DLLPUBLIC)
+ ScCellRangesObj(ScDocShell* pDocSh, const ScRangeList& rR);
virtual ~ScCellRangesObj() override;
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;