diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx index fd396c8f7083..0c927a54ca02 100644 --- a/vcl/unx/gtk/a11y/atkwindow.cxx +++ b/vcl/unx/gtk/a11y/atkwindow.cxx @@ -278,7 +278,7 @@ ooo_window_wrapper_get_type (void) if( ! parent_type ) { - g_warning( "Unknown type: GailWindow" ); + SAL_INFO("vcl.a11y", "Unknown type: GailWindow"); parent_type = ATK_TYPE_OBJECT; } diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx index 4c9d5d612d33..a112d4fb510a 100644 --- a/vcl/unx/gtk/a11y/atkwrapper.cxx +++ b/vcl/unx/gtk/a11y/atkwrapper.cxx @@ -809,9 +809,6 @@ atk_object_wrapper_new( const ::com::sun::star::uno::Reference< ::com::sun::star */ uno::Reference< accessibility::XAccessible > xParent( xContext->getAccessibleParent() ); - /* The top-level objects should never be of this class */ - OSL_ASSERT( xParent.is() ); - if( xParent.is() ) atk_obj->accessible_parent = atk_object_wrapper_ref( xParent ); }