From 89253a0c258c1107f598e5a37470ecb09055a895 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 12 Aug 2013 15:08:14 +0100 Subject: downgrade Unknown type: GailWindow warning to info a11y definitely works, so lets de-noise startup Change-Id: Ibea41248955442e062700d07fbe9a70e11479fe3 --- vcl/unx/gtk/a11y/atkwindow.cxx | 2 +- vcl/unx/gtk/a11y/atkwrapper.cxx | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'vcl') 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 ); } -- cgit