From 4b7cbb569e52e483a5edda8afe27d423e428edbb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 17 Nov 2018 21:37:50 +0000 Subject: weld SwCondCollPage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and put back original SvTreeListBox a11y factory use Change-Id: I4ad8ce29d8fed6ec5d44e9a1d641919a89226b79 Reviewed-on: https://gerrit.libreoffice.org/63501 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara (cherry picked from commit 47897fdd936d9b6e9ac8cb6110c79352ab080df7) Reviewed-on: https://gerrit.libreoffice.org/63770 --- toolkit/source/awt/vclxwindows.cxx | 12 ++++++++++++ toolkit/source/helper/accessibilityclient.cxx | 5 +++++ toolkit/source/helper/unowrapper.cxx | 2 ++ 3 files changed, 19 insertions(+) (limited to 'toolkit') diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 219433ff135f..f50c8ffb55ec 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -6489,6 +6489,18 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXToolBox::Creat return getAccessibleFactory().createAccessibleContext( this ); } +VCLXHeaderBar::VCLXHeaderBar() +{ +} + +VCLXHeaderBar::~VCLXHeaderBar() +{ +} + +css::uno::Reference< css::accessibility::XAccessibleContext > VCLXHeaderBar::CreateAccessibleContext() +{ + return getAccessibleFactory().createAccessibleContext( this ); +} // class VCLXFrame diff --git a/toolkit/source/helper/accessibilityclient.cxx b/toolkit/source/helper/accessibilityclient.cxx index bc7ed5db956b..37f6ea94375e 100644 --- a/toolkit/source/helper/accessibilityclient.cxx +++ b/toolkit/source/helper/accessibilityclient.cxx @@ -111,6 +111,11 @@ namespace toolkit { return nullptr; } + css::uno::Reference< css::accessibility::XAccessibleContext > + createAccessibleContext( VCLXHeaderBar* /*_pXWindow*/ ) override + { + return nullptr; + } css::uno::Reference< css::accessibility::XAccessibleContext > createAccessibleContext( VCLXWindow* /*_pXWindow*/ ) override { diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx index f838fa57694b..46bd22300cd8 100644 --- a/toolkit/source/helper/unowrapper.cxx +++ b/toolkit/source/helper/unowrapper.cxx @@ -96,6 +96,8 @@ static css::uno::Reference< css::awt::XWindowPeer > CreateXWindow( vcl::Window c case WindowType::TOOLBOX: return new VCLXToolBox; case WindowType::TABCONTROL: return new VCLXMultiPage; + case WindowType::HEADERBAR: return new VCLXHeaderBar; + // case WindowType::FIXEDLINE: // case WindowType::FIXEDBITMAP: // case WindowType::DATEBOX: -- cgit