summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-02-21 15:25:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-02-22 07:28:53 +0000
commitd1c3a54c03764b87048e1ebff758b20be132378f (patch)
treebc7e088b2caafbdc4b2d8274ae4d24ccdc595219 /sc/source/ui/inc
parentb94336ac3d29180504e4bd7ada4d29ed5b6d3fda (diff)
simplify ScAccessibleContextBase
no need to use two different UNO base helper classes here Change-Id: I3aa89bf64fbd1b1d12f6c2a125ae36483899e82c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147417 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/AccessibleContextBase.hxx28
1 files changed, 2 insertions, 26 deletions
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx
index 0df386d6edd5..b7276873487f 100644
--- a/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -44,17 +44,13 @@ typedef cppu::WeakComponentImplHelper<
css::accessibility::XAccessibleComponent,
css::accessibility::XAccessibleContext,
css::accessibility::XAccessibleEventBroadcaster,
- css::lang::XServiceInfo
- > ScAccessibleContextBaseWeakImpl;
-
-typedef cppu::ImplHelper1<
+ css::lang::XServiceInfo,
css::accessibility::XAccessibleEventListener
- > ScAccessibleContextBaseImplEvent;
+ > ScAccessibleContextBaseWeakImpl;
class ScAccessibleContextBase
: public cppu::BaseMutex,
public ScAccessibleContextBaseWeakImpl,
- public ScAccessibleContextBaseImplEvent,
public SfxListener
{
public:
@@ -79,15 +75,6 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
- ///===== XInterface =====================================================
-
- virtual css::uno::Any SAL_CALL queryInterface(
- css::uno::Type const & rType ) override;
-
- virtual void SAL_CALL acquire() noexcept override;
-
- virtual void SAL_CALL release() noexcept override;
-
///===== XAccessible =====================================================
/// Return the XAccessibleContext.
@@ -200,17 +187,6 @@ public:
virtual css::uno::Sequence< OUString> SAL_CALL
getSupportedServiceNames() override;
- ///===== XTypeProvider ===================================================
-
- /// returns the possible types
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL
- getTypes() override;
-
- /** Returns an implementation id.
- */
- virtual css::uno::Sequence<sal_Int8> SAL_CALL
- getImplementationId() override;
-
protected:
/// Return this object's description.
///