Kaydet (Commit) 3026e7a9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-exception-parameter

Change-Id: Idb21a2fcceccf037e0f8ca56905306b359779813
üst c2130482
...@@ -338,7 +338,7 @@ wrapper_get_name( AtkObject *atk_obj ) ...@@ -338,7 +338,7 @@ wrapper_get_name( AtkObject *atk_obj )
atk_obj->name = g_strdup(aName.getStr()); atk_obj->name = g_strdup(aName.getStr());
} }
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in getAccessibleName()" ); g_warning( "Exception in getAccessibleName()" );
} }
} }
...@@ -365,7 +365,7 @@ wrapper_get_description( AtkObject *atk_obj ) ...@@ -365,7 +365,7 @@ wrapper_get_description( AtkObject *atk_obj )
g_free(atk_obj->description); g_free(atk_obj->description);
atk_obj->description = g_strdup(aDescription.getStr()); atk_obj->description = g_strdup(aDescription.getStr());
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in getAccessibleDescription()" ); g_warning( "Exception in getAccessibleDescription()" );
} }
} }
...@@ -388,7 +388,7 @@ wrapper_get_n_children( AtkObject *atk_obj ) ...@@ -388,7 +388,7 @@ wrapper_get_n_children( AtkObject *atk_obj )
try { try {
n = xContext->getAccessibleChildCount(); n = xContext->getAccessibleChildCount();
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
OSL_FAIL("Exception in getAccessibleChildCount()" ); OSL_FAIL("Exception in getAccessibleChildCount()" );
} }
} }
...@@ -421,7 +421,7 @@ wrapper_ref_child( AtkObject *atk_obj, ...@@ -421,7 +421,7 @@ wrapper_ref_child( AtkObject *atk_obj,
child = atk_object_wrapper_ref( xAccessible ); child = atk_object_wrapper_ref( xAccessible );
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
OSL_FAIL("Exception in getAccessibleChild"); OSL_FAIL("Exception in getAccessibleChild");
} }
} }
...@@ -448,7 +448,7 @@ wrapper_get_index_in_parent( AtkObject *atk_obj ) ...@@ -448,7 +448,7 @@ wrapper_get_index_in_parent( AtkObject *atk_obj )
obj->mpAccessible, i); obj->mpAccessible, i);
#endif #endif
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in getAccessibleIndexInParent()" ); g_warning( "Exception in getAccessibleIndexInParent()" );
} }
} }
...@@ -494,7 +494,7 @@ wrapper_ref_relation_set( AtkObject *atk_obj ) ...@@ -494,7 +494,7 @@ wrapper_ref_relation_set( AtkObject *atk_obj )
g_object_unref( G_OBJECT( pRel ) ); g_object_unref( G_OBJECT( pRel ) );
} }
} }
catch(const uno::Exception &e) { catch(const uno::Exception &) {
g_object_unref( G_OBJECT( pSet ) ); g_object_unref( G_OBJECT( pSet ) );
pSet = NULL; pSet = NULL;
} }
...@@ -533,7 +533,7 @@ wrapper_ref_state_set( AtkObject *atk_obj ) ...@@ -533,7 +533,7 @@ wrapper_ref_state_set( AtkObject *atk_obj )
} }
} }
catch(const uno::Exception &e) { catch(const uno::Exception &) {
g_warning( "Exception in wrapper_ref_state_set" ); g_warning( "Exception in wrapper_ref_state_set" );
atk_state_set_add_state( pSet, ATK_STATE_DEFUNCT ); atk_state_set_add_state( pSet, ATK_STATE_DEFUNCT );
} }
...@@ -640,7 +640,7 @@ isOfType( uno::XInterface *pInterface, const uno::Type & rType ) ...@@ -640,7 +640,7 @@ isOfType( uno::XInterface *pInterface, const uno::Type & rType )
bIs = ( ( typelib_TypeClass_INTERFACE == aRet.pType->eTypeClass ) && bIs = ( ( typelib_TypeClass_INTERFACE == aRet.pType->eTypeClass ) &&
( aRet.pReserved != NULL ) ); ( aRet.pReserved != NULL ) );
} catch( const uno::Exception &e) { } } catch( const uno::Exception &) { }
return bIs; return bIs;
} }
...@@ -826,7 +826,7 @@ atk_object_wrapper_new( const ::com::sun::star::uno::Reference< ::com::sun::star ...@@ -826,7 +826,7 @@ atk_object_wrapper_new( const ::com::sun::star::uno::Reference< ::com::sun::star
return ATK_OBJECT( pWrap ); return ATK_OBJECT( pWrap );
} }
catch (const uno::Exception &e) catch (const uno::Exception &)
{ {
if( pWrap ) if( pWrap )
g_object_unref( pWrap ); g_object_unref( pWrap );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment