summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-03-22 15:59:00 +0000
committerSzymon Kłos <szymon.klos@collabora.com>2020-05-21 11:08:16 +0200
commit598d8c004fb02036d12ab362aa3711bbd760cfaf (patch)
tree80cddf149a125eaf79d4967013f0748c8e6051f4 /toolkit/source
parentba4a10160dcc138da25161c84dd71c7be23f55a5 (diff)
weld SvxSearchDialog
I have to use the other way to specify an a11y role, both are implemented in the vcl parser, but in my gtk3-3.24.7 the role tag crashes the gtk parser, while the other route works fine. The CONTENT_FLOWS_TO accessibility relation is another additional complexity over the norm Change-Id: Ia096bcbe9f00f9944e4e4d5ad9bb1a52d19c7b3f Reviewed-on: https://gerrit.libreoffice.org/69569 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94592 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/awt/vclxaccessiblecomponent.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx
index aa86bb0c9606..d71a378d2382 100644
--- a/toolkit/source/awt/vclxaccessiblecomponent.cxx
+++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx
@@ -374,6 +374,9 @@ void VCLXAccessibleComponent::FillAccessibleRelationSet( utl::AccessibleRelation
uno::Sequence< uno::Reference< uno::XInterface > > aSequence { pMemberOf->GetAccessible() };
rRelationSet.AddRelation( accessibility::AccessibleRelation( accessibility::AccessibleRelationType::MEMBER_OF, aSequence ) );
}
+
+ for (const auto& rExtraRelation : pWindow->GetExtraAccessibleRelations())
+ rRelationSet.AddRelation(rExtraRelation);
}
}