tdf#88206: replace cppu::WeakImplHelper* and cppu::WeakComponentImplHelper*
with variadic variants, and drop unused #includes, in accessibility. Change-Id: Iddbe0f7932108319a5105448a74c570265d601ce Reviewed-on: https://gerrit.libreoffice.org/16639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
parent
15c0fba5c2
commit
00daf98edd
@ -22,6 +22,7 @@
|
||||
#define INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLEBROWSEBOX_HXX
|
||||
|
||||
#include <accessibility/extended/AccessibleBrowseBoxBase.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <cppuhelper/weakref.hxx>
|
||||
#include <svtools/accessibletableprovider.hxx>
|
||||
#include <memory>
|
||||
@ -192,8 +193,8 @@ private:
|
||||
<p>The instance holds its XAccessibleContext with a hard reference, while
|
||||
the contxt holds this instance weak.</p>
|
||||
*/
|
||||
typedef ::cppu::WeakImplHelper1 < ::com::sun::star::accessibility::XAccessible
|
||||
> AccessibleBrowseBoxAccess_Base;
|
||||
typedef ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessible
|
||||
> AccessibleBrowseBoxAccess_Base;
|
||||
|
||||
class AccessibleBrowseBoxAccess :public AccessibleBrowseBoxAccess_Base
|
||||
,public ::svt::IAccessibleBrowseBox
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
#include <accessibility/extended/AccessibleGridControlBase.hxx>
|
||||
#include <accessibility/extended/AccessibleGridControlTable.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <cppuhelper/weakref.hxx>
|
||||
#include <svtools/accessibletable.hxx>
|
||||
#include <memory>
|
||||
@ -180,7 +181,7 @@ private:
|
||||
<p>The instance holds its XAccessibleContext with a hard reference, while
|
||||
the contxt holds this instance weak.</p>
|
||||
*/
|
||||
typedef ::cppu::WeakImplHelper1 < ::com::sun::star::accessibility::XAccessible > AccessibleGridControlAccess_Base;
|
||||
typedef ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessible > AccessibleGridControlAccess_Base;
|
||||
|
||||
class AccessibleGridControlAccess :public AccessibleGridControlAccess_Base
|
||||
,public ::svt::table::IAccessibleTableControl
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifndef INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLETOOLPANELDECK_HXX
|
||||
#define INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLETOOLPANELDECK_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <toolkit/awt/vclxaccessiblecomponent.hxx>
|
||||
|
||||
#include <memory>
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifndef INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLETOOLPANELDECKTABBAR_HXX
|
||||
#define INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLETOOLPANELDECKTABBAR_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <toolkit/awt/vclxaccessiblecomponent.hxx>
|
||||
|
||||
#include <memory>
|
||||
|
@ -21,7 +21,6 @@
|
||||
#define INCLUDED_ACCESSIBILITY_INC_ACCESSIBILITY_EXTENDED_ACCESSIBLETOOLPANELDECKTABBARITEM_HXX
|
||||
|
||||
#include <comphelper/accessiblecomponenthelper.hxx>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -25,8 +25,7 @@
|
||||
#include <com/sun/star/accessibility/XAccessibleRelationSet.hpp>
|
||||
#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
|
||||
#include <com/sun/star/accessibility/XAccessibleValue.hpp>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/compbase1.hxx>
|
||||
#include <cppuhelper/compbase.hxx>
|
||||
#include <comphelper/accessiblewrapper.hxx>
|
||||
|
||||
namespace accessibility
|
||||
@ -95,8 +94,8 @@ namespace accessibility
|
||||
|
||||
// = EditBrowseBoxTableCell
|
||||
|
||||
typedef ::cppu::WeakComponentImplHelper1 < ::com::sun::star::accessibility::XAccessible
|
||||
> EditBrowseBoxTableCellAccess_Base;
|
||||
typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::accessibility::XAccessible
|
||||
> EditBrowseBoxTableCellAccess_Base;
|
||||
// XAccessible providing an EditBrowseBoxTableCell
|
||||
class EditBrowseBoxTableCellAccess
|
||||
:public ::comphelper::OBaseMutex
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <map>
|
||||
#include <accessibility/standard/vclxaccessiblebox.hxx>
|
||||
#include <com/sun/star/accessibility/AccessibleRole.hpp>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
|
||||
|
||||
/** The accessible combobox has two children. The first is the text field
|
||||
|
@ -24,10 +24,6 @@
|
||||
#include <accessibility/standard/vclxaccessibleedit.hxx>
|
||||
#include <com/sun/star/accessibility/XAccessibleAction.hpp>
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/weakref.hxx>
|
||||
|
||||
|
||||
/** The accessible drop down combobox has two children. The first is the
|
||||
text field represented by an object of the
|
||||
<type>VCLXAccessibleEdit</type> class. The second is the list
|
||||
|
@ -23,10 +23,6 @@
|
||||
#include <accessibility/standard/vclxaccessiblebox.hxx>
|
||||
#include <com/sun/star/accessibility/XAccessibleAction.hpp>
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/weakref.hxx>
|
||||
|
||||
|
||||
/** The accessible drop down combobox has two children. The first is the
|
||||
text field represented by an object of the
|
||||
<type>VCLXAccessibleTextField</type> class which can not be edited. The
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
|
||||
#include <com/sun/star/lang/DisposedException.hpp>
|
||||
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <svtools/toolpanel/toolpaneldeck.hxx>
|
||||
#include <svtools/toolpanel/paneltabbar.hxx>
|
||||
#include <unotools/accessiblestatesethelper.hxx>
|
||||
@ -64,7 +65,7 @@ namespace accessibility
|
||||
typedef ::com::sun::star::awt::Point UnoPoint;
|
||||
|
||||
// AccessibleWrapper
|
||||
typedef ::cppu::WeakImplHelper1< XAccessible > AccessibleWrapper_Base;
|
||||
typedef ::cppu::WeakImplHelper< XAccessible > AccessibleWrapper_Base;
|
||||
class AccessibleWrapper : public AccessibleWrapper_Base
|
||||
{
|
||||
public:
|
||||
|
@ -61,7 +61,6 @@
|
||||
#include <accessibility/extended/AccessibleGridControl.hxx>
|
||||
#include <svtools/accessibletable.hxx>
|
||||
#include <vcl/popupmenuwindow.hxx>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
|
||||
#include "floatingwindowaccessible.hxx"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user