diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-03 14:57:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-03 14:57:46 +0100 |
commit | ec13016a3cefc2c2f9af799e5c30799d56670ad1 (patch) | |
tree | 2cd7ed44a42cc8c933a06e2f6104ddb6dc14de41 /vcl | |
parent | f35e38e3a95275ed86f5b777870d1614ec99bda0 (diff) |
Resolves: rhbz#1012390 avoid scary 'the sky is falling' a11y warning
Change-Id: I543e00048544eb7835cf1f0f31794e5a8bbb1962
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/a11y/atklistener.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx index 2ff3f0c0dcfd..b9f8d044220c 100644 --- a/vcl/unx/gtk/a11y/atklistener.cxx +++ b/vcl/unx/gtk/a11y/atklistener.cxx @@ -148,7 +148,7 @@ void AtkListener::handleChildAdded( const uno::Reference< accessibility::XAccessibleContext >& rxParent, const uno::Reference< accessibility::XAccessible>& rxAccessible) { - AtkObject * pChild = atk_object_wrapper_ref( rxAccessible ); + AtkObject * pChild = rxAccessible.is() ? atk_object_wrapper_ref( rxAccessible ) : NULL; if( pChild ) { |