summaryrefslogtreecommitdiff
path: root/accessibility/inc/standard
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-08-30 15:16:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-08-31 10:34:10 +0200
commit28c89e58d90ea73513e273db274eb46ff9081c35 (patch)
tree06610d4d8ba50fdd23c1217e14e892d7fea74d24 /accessibility/inc/standard
parent5dbc129d49937f643f66eeeb23cbd8952597db15 (diff)
use concrete type for OAccessibleMenuBaseComponent::m_aAccessibleChildren
avoid some unnecessary casting Change-Id: Iaa9ce18d7a0772d894ec8f93e16f4f59ffaae77d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156315 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/inc/standard')
-rw-r--r--accessibility/inc/standard/accessiblemenubasecomponent.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/accessibility/inc/standard/accessiblemenubasecomponent.hxx b/accessibility/inc/standard/accessiblemenubasecomponent.hxx
index 6dd8ab8eb760..337ee0a80d00 100644
--- a/accessibility/inc/standard/accessiblemenubasecomponent.hxx
+++ b/accessibility/inc/standard/accessiblemenubasecomponent.hxx
@@ -33,6 +33,7 @@ class Menu;
class VclSimpleEvent;
class VclMenuEvent;
+class OAccessibleMenuItemComponent;
class OAccessibleMenuBaseComponent : public cppu::ImplInheritanceHelper<
comphelper::OAccessibleExtendedComponentHelper,
@@ -44,9 +45,9 @@ class OAccessibleMenuBaseComponent : public cppu::ImplInheritanceHelper<
friend class VCLXAccessibleMenu;
protected:
- typedef std::vector< css::uno::Reference< css::accessibility::XAccessible > > AccessibleChildren;
+ typedef std::vector< rtl::Reference< OAccessibleMenuItemComponent > > AccessibleChildren;
- AccessibleChildren m_aAccessibleChildren;
+ AccessibleChildren m_aAccessibleChildren1;
VclPtr<Menu> m_pMenu;
bool m_bEnabled;