summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-01-21 21:16:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-01-23 07:27:51 +0000
commit3e7ff2a908c577b52ee0707435fb409765c37545 (patch)
treee77dee46c07792d7134d3e27d007f7b42613cc09 /sc/inc
parentc04434a58407f76ab378b6a991b23f1aaf534f86 (diff)
XUnoTunnel->dynamic_cast in ScCellRangesBase
Change-Id: Iac62a8ed51d21cc2ef957b3e4811554b62cdb0d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145982 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/cellsuno.hxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 65784be7ee3d..e64c1065d5c7 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -81,7 +81,6 @@
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
-#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/document/XActionLockable.hpp>
#include <com/sun/star/beans/XTolerantMultiPropertySet.hpp>
#include <com/sun/star/sheet/XExternalSheetName.hpp>
@@ -155,7 +154,7 @@ namespace ooo::vba::excel {
class ScVbaCellRangeAccess; // Vba Helper class
}
-class SC_DLLPUBLIC ScCellRangesBase :
+class SC_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE("crosscast") ScCellRangesBase :
public cppu::WeakImplHelper<
css::beans::XPropertySet,
css::beans::XMultiPropertySet,
@@ -168,7 +167,6 @@ class SC_DLLPUBLIC ScCellRangesBase :
css::util::XReplaceable,
css::util::XModifyBroadcaster,
css::lang::XServiceInfo,
- css::lang::XUnoTunnel,
css::beans::XTolerantMultiPropertySet>,
public SfxListener
{
@@ -372,9 +370,6 @@ public:
virtual OUString SAL_CALL getImplementationName() override;
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
-
- // XUnoTunnel
- UNO3_GETIMPLEMENTATION_DECL(ScCellRangesBase)
};
class UNLESS_MERGELIBS(SC_DLLPUBLIC) ScCellRangesObj final : public ScCellRangesBase,
@@ -959,9 +954,6 @@ public:
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
- // XUnoTunnel
- UNO3_GETIMPLEMENTATION_DECL(ScTableSheetObj);
-
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;