Use ImplInheritanceHelper in VCLXAccessibleScrollBar
Change-Id: I8702abb22d14eb88655a1a133ecce8140b0cd4e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146235 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
d3080dc586
commit
c1b17b0e91
2 changed files with 6 additions and 26 deletions
|
@ -24,17 +24,15 @@
|
|||
#include <com/sun/star/accessibility/XAccessibleAction.hpp>
|
||||
#include <com/sun/star/accessibility/XAccessibleValue.hpp>
|
||||
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
|
||||
|
||||
|
||||
typedef ::cppu::ImplHelper2<
|
||||
css::accessibility::XAccessibleAction,
|
||||
css::accessibility::XAccessibleValue > VCLXAccessibleScrollBar_BASE;
|
||||
|
||||
class VCLXAccessibleScrollBar final : public VCLXAccessibleComponent,
|
||||
public VCLXAccessibleScrollBar_BASE
|
||||
class VCLXAccessibleScrollBar final : public cppu::ImplInheritanceHelper<
|
||||
VCLXAccessibleComponent,
|
||||
css::accessibility::XAccessibleAction,
|
||||
css::accessibility::XAccessibleValue>
|
||||
{
|
||||
virtual ~VCLXAccessibleScrollBar() override = default;
|
||||
|
||||
|
@ -42,13 +40,7 @@ class VCLXAccessibleScrollBar final : public VCLXAccessibleComponent,
|
|||
virtual void FillAccessibleStateSet( sal_Int64& rStateSet ) override;
|
||||
|
||||
public:
|
||||
using VCLXAccessibleComponent::VCLXAccessibleComponent;
|
||||
|
||||
// XInterface
|
||||
DECLARE_XINTERFACE()
|
||||
|
||||
// XTypeProvider
|
||||
DECLARE_XTYPEPROVIDER()
|
||||
VCLXAccessibleScrollBar( VCLXWindow* pVCLXWindow ): ImplInheritanceHelper(pVCLXWindow) {}
|
||||
|
||||
// XServiceInfo
|
||||
virtual OUString SAL_CALL getImplementationName() override;
|
||||
|
|
|
@ -76,18 +76,6 @@ void VCLXAccessibleScrollBar::FillAccessibleStateSet( sal_Int64& rStateSet )
|
|||
}
|
||||
|
||||
|
||||
// XInterface
|
||||
|
||||
|
||||
IMPLEMENT_FORWARD_XINTERFACE2( VCLXAccessibleScrollBar, VCLXAccessibleComponent, VCLXAccessibleScrollBar_BASE )
|
||||
|
||||
|
||||
// XTypeProvider
|
||||
|
||||
|
||||
IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleScrollBar, VCLXAccessibleComponent, VCLXAccessibleScrollBar_BASE )
|
||||
|
||||
|
||||
// XServiceInfo
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue