basctl/source/accessibility/accessibledialogwindow.cxx |   12 ----------
 basctl/source/inc/accessibledialogwindow.hxx           |   20 +++++------------
 2 files changed, 6 insertions(+), 26 deletions(-)

New commits:
commit c527721a031fdbb16e2978dd6c5c41dd2d70f9d6
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Jan 27 13:39:01 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Sat Jan 28 14:04:37 2023 +0000

    Use ImplInheritanceHelper in AccessibleDialogWindow
    
    Change-Id: I3f453f49ff2c2bde6bbedf44bf934c5016d655d9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146269
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx 
b/basctl/source/accessibility/accessibledialogwindow.cxx
index 2145f2546ea2..08e40ff76c41 100644
--- a/basctl/source/accessibility/accessibledialogwindow.cxx
+++ b/basctl/source/accessibility/accessibledialogwindow.cxx
@@ -493,18 +493,6 @@ void AccessibleDialogWindow::Notify( SfxBroadcaster&, 
const SfxHint& rHint )
 }
 
 
-// XInterface
-
-
-IMPLEMENT_FORWARD_XINTERFACE2( AccessibleDialogWindow, 
OAccessibleExtendedComponentHelper, AccessibleDialogWindow_BASE )
-
-
-// XTypeProvider
-
-
-IMPLEMENT_FORWARD_XTYPEPROVIDER2( AccessibleDialogWindow, 
OAccessibleExtendedComponentHelper, AccessibleDialogWindow_BASE )
-
-
 // XComponent
 
 
diff --git a/basctl/source/inc/accessibledialogwindow.hxx 
b/basctl/source/inc/accessibledialogwindow.hxx
index dffd8ea8f550..0ef2bf1e5034 100644
--- a/basctl/source/inc/accessibledialogwindow.hxx
+++ b/basctl/source/inc/accessibledialogwindow.hxx
@@ -22,7 +22,7 @@
 #include <com/sun/star/accessibility/XAccessibleSelection.hpp>
 #include <com/sun/star/lang/XServiceInfo.hpp>
 #include <comphelper/accessiblecomponenthelper.hxx>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
 #include <svl/lstner.hxx>
 #include <tools/link.hxx>
 #include <vcl/vclptr.hxx>
@@ -40,13 +40,11 @@ class DlgEdObj;
 
 
 
-typedef ::cppu::ImplHelper3 <
-    css::accessibility::XAccessible,
-    css::accessibility::XAccessibleSelection,
-    css::lang::XServiceInfo > AccessibleDialogWindow_BASE;
-
-class AccessibleDialogWindow final : public 
comphelper::OAccessibleExtendedComponentHelper,
-                                public AccessibleDialogWindow_BASE,
+class AccessibleDialogWindow final : public cppu::ImplInheritanceHelper<
+                                         
comphelper::OAccessibleExtendedComponentHelper,
+                                         css::accessibility::XAccessible,
+                                         
css::accessibility::XAccessibleSelection,
+                                         css::lang::XServiceInfo>,
                                 public SfxListener
 {
 private:
@@ -99,12 +97,6 @@ public:
     // SfxListener
     virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
 
-    // XInterface
-    DECLARE_XINTERFACE()
-
-    // XTypeProvider
-    DECLARE_XTYPEPROVIDER()
-
     // XServiceInfo
     virtual OUString SAL_CALL getImplementationName() override;
     virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) 
override;

Reply via email to