summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-10-12 15:09:21 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-11-15 15:09:56 +0100
commitec2e453d39b941a5cf3abcf729a889889976e09d (patch)
tree28d7a3eb833b625d16859ced76fea8a3966f77f0 /vcl
parentfa2167fe500e68f8960f40e13fdc908fc3fa1323 (diff)
vcl: ATK: remove the hyper_link_get_object implementation
This calls the same function as hyper_link_get_uri: getAccessibleActionObject(), which is documented to return an URL string, not an "object". Since IA2 it even *does* return an URL string, and none of the 3 implementations return an XAccessible, and there is no obvious other method to call, so just remove the non-working implementation so it doesn't print misleading exception warnings. Change-Id: Ia32aef56439a8455698011ac636be264244656b3
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/a11y/atkhypertext.cxx13
1 files changed, 3 insertions, 10 deletions
diff --git a/vcl/unx/gtk/a11y/atkhypertext.cxx b/vcl/unx/gtk/a11y/atkhypertext.cxx
index 348d400cab1d..8359883109f1 100644
--- a/vcl/unx/gtk/a11y/atkhypertext.cxx
+++ b/vcl/unx/gtk/a11y/atkhypertext.cxx
@@ -66,17 +66,10 @@ hyper_link_get_uri( AtkHyperlink *pLink,
}
static AtkObject *
-hyper_link_get_object( AtkHyperlink *pLink,
- gint i)
+hyper_link_get_object( AtkHyperlink *,
+ gint )
{
- try {
- uno::Any aAny = getHyperlink( pLink )->getAccessibleActionObject( i );
- uno::Reference< accessibility::XAccessible > xObj( aAny, uno::UNO_QUERY_THROW );
- return atk_object_wrapper_ref( xObj );
- }
- catch(const uno::Exception&) {
- g_warning( "Exception in hyper_link_get_object" );
- }
+ g_warning( "FIXME: hyper_link_get_object unimplemented" );
return nullptr;
}
static gint