Simplify GridControlAccessibleElement
Change-Id: I1509ca337b5864805132a87dab2627df721091db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178029 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
parent
ac6b34ed9d
commit
bbf4c5ca17
2 changed files with 4 additions and 18 deletions
|
@ -252,12 +252,10 @@ private:
|
|||
// a version of AccessibleGridControlBase which implements not only the XAccessibleContext,
|
||||
// but also the XAccessible
|
||||
|
||||
typedef ::cppu::ImplHelper1 < css::accessibility::XAccessible
|
||||
> GridControlAccessibleElement_Base;
|
||||
typedef cppu::ImplInheritanceHelper <AccessibleGridControlBase, css::accessibility::XAccessible>
|
||||
GridControlAccessibleElement_Base;
|
||||
|
||||
class GridControlAccessibleElement
|
||||
:public AccessibleGridControlBase
|
||||
,public GridControlAccessibleElement_Base
|
||||
class GridControlAccessibleElement : public GridControlAccessibleElement_Base
|
||||
{
|
||||
protected:
|
||||
/** Constructor sets specified name and description.
|
||||
|
@ -271,12 +269,6 @@ protected:
|
|||
::vcl::table::IAccessibleTable& rTable,
|
||||
::vcl::table::AccessibleTableControlObjType eObjType );
|
||||
|
||||
public:
|
||||
// XInterface
|
||||
DECLARE_XINTERFACE( )
|
||||
// XTypeProvider
|
||||
DECLARE_XTYPEPROVIDER( )
|
||||
|
||||
protected:
|
||||
virtual ~GridControlAccessibleElement() override;
|
||||
|
||||
|
|
|
@ -430,16 +430,10 @@ sal_Int32 SAL_CALL AccessibleGridControlBase::getBackground( )
|
|||
GridControlAccessibleElement::GridControlAccessibleElement( const css::uno::Reference< css::accessibility::XAccessible >& rxParent,
|
||||
::vcl::table::IAccessibleTable& rTable,
|
||||
::vcl::table::AccessibleTableControlObjType eObjType )
|
||||
:AccessibleGridControlBase( rxParent, rTable, eObjType )
|
||||
: GridControlAccessibleElement_Base(rxParent, rTable, eObjType)
|
||||
{
|
||||
}
|
||||
|
||||
// XInterface
|
||||
IMPLEMENT_FORWARD_XINTERFACE2( GridControlAccessibleElement, AccessibleGridControlBase, GridControlAccessibleElement_Base)
|
||||
|
||||
// XTypeProvider
|
||||
IMPLEMENT_FORWARD_XTYPEPROVIDER2( GridControlAccessibleElement, AccessibleGridControlBase, GridControlAccessibleElement_Base )
|
||||
|
||||
// css::accessibility::XAccessible
|
||||
|
||||
css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL GridControlAccessibleElement::getAccessibleContext()
|
||||
|
|
Loading…
Reference in a new issue