summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y/atkregistry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/a11y/atkregistry.cxx')
-rw-r--r--vcl/unx/gtk/a11y/atkregistry.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/unx/gtk/a11y/atkregistry.cxx b/vcl/unx/gtk/a11y/atkregistry.cxx
index ee34ee1209c5..5fdae5cbd2fb 100644
--- a/vcl/unx/gtk/a11y/atkregistry.cxx
+++ b/vcl/unx/gtk/a11y/atkregistry.cxx
@@ -55,10 +55,12 @@ ooo_wrapper_registry_add(const Reference< XAccessible >& rxAccessible, AtkObject
/*****************************************************************************/
void
-ooo_wrapper_registry_remove(XAccessible *pAccessible)
+ooo_wrapper_registry_remove(
+ css::uno::Reference<css::accessibility::XAccessible> const & pAccessible)
{
if( uno_to_gobject )
- g_hash_table_remove( uno_to_gobject, static_cast<gpointer>(pAccessible) );
+ g_hash_table_remove(
+ uno_to_gobject, static_cast<gpointer>(pAccessible.get()) );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */