downgrade Unknown type: GailWindow warning to info

a11y definitely works, so lets de-noise startup

Change-Id: Ibea41248955442e062700d07fbe9a70e11479fe3
This commit is contained in:
Caolán McNamara
2013-08-12 15:08:14 +01:00
parent 0e67b165d5
commit 89253a0c25
2 changed files with 1 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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 );
}