summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y/atkwrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/a11y/atkwrapper.cxx')
-rw-r--r--vcl/unx/gtk/a11y/atkwrapper.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx
index a6382c8b2ef6..76175f0e9b8c 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.cxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.cxx
@@ -68,6 +68,8 @@
#include <string.h>
#include <vector>
+#include <sal/log.hxx>
+
using namespace ::com::sun::star;
static GObjectClass *parent_class = nullptr;
@@ -817,6 +819,7 @@ atk_object_wrapper_ref( const uno::Reference< accessibility::XAccessible > &rxAc
if( create )
return atk_object_wrapper_new( rxAccessible );
+ SAL_DEBUG("atk_object_wrapper_ref: rxAccessible: " << rxAccessible.get());
return nullptr;
}
@@ -851,6 +854,7 @@ atk_object_wrapper_new( const css::uno::Reference< css::accessibility::XAccessib
ooo_wrapper_registry_add( rxAccessible, atk_obj );
+
if( parent )
g_object_ref( atk_obj->accessible_parent );
else