sc/inc/cellsuno.hxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit d04f64c0681c756386067f96b1cd9b89966d0e7c
Author:     Noel Grandin <[email protected]>
AuthorDate: Tue Feb 20 17:52:10 2024 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Tue Feb 20 20:52:41 2024 +0100

    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 <[email protected]>
        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 <[email protected]>

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;

Reply via email to