Kaydet (Commit) 85dc9732 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-exception-parameter

Change-Id: I4763547ceebab61077c67f2a8c67d6ab388fb6b3
üst 0fb6957f
...@@ -63,7 +63,7 @@ hyper_link_get_uri( AtkHyperlink *pLink, ...@@ -63,7 +63,7 @@ hyper_link_get_uri( AtkHyperlink *pLink,
OUString aUri = aAny.get< OUString > (); OUString aUri = aAny.get< OUString > ();
return OUStringToGChar(aUri); return OUStringToGChar(aUri);
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in hyper_link_get_uri" ); g_warning( "Exception in hyper_link_get_uri" );
} }
return NULL; return NULL;
...@@ -78,7 +78,7 @@ hyper_link_get_object( AtkHyperlink *pLink, ...@@ -78,7 +78,7 @@ hyper_link_get_object( AtkHyperlink *pLink,
uno::Reference< accessibility::XAccessible > xObj( aAny, uno::UNO_QUERY_THROW ); uno::Reference< accessibility::XAccessible > xObj( aAny, uno::UNO_QUERY_THROW );
return atk_object_wrapper_ref( xObj ); return atk_object_wrapper_ref( xObj );
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in hyper_link_get_object" ); g_warning( "Exception in hyper_link_get_object" );
} }
return NULL; return NULL;
...@@ -89,7 +89,7 @@ hyper_link_get_end_index( AtkHyperlink *pLink ) ...@@ -89,7 +89,7 @@ hyper_link_get_end_index( AtkHyperlink *pLink )
try { try {
return getHyperlink( pLink )->getEndIndex(); return getHyperlink( pLink )->getEndIndex();
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
} }
return -1; return -1;
} }
...@@ -99,7 +99,7 @@ hyper_link_get_start_index( AtkHyperlink *pLink ) ...@@ -99,7 +99,7 @@ hyper_link_get_start_index( AtkHyperlink *pLink )
try { try {
return getHyperlink( pLink )->getStartIndex(); return getHyperlink( pLink )->getStartIndex();
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
} }
return -1; return -1;
} }
...@@ -109,7 +109,7 @@ hyper_link_is_valid( AtkHyperlink *pLink ) ...@@ -109,7 +109,7 @@ hyper_link_is_valid( AtkHyperlink *pLink )
try { try {
return getHyperlink( pLink )->isValid(); return getHyperlink( pLink )->isValid();
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
} }
return FALSE; return FALSE;
} }
...@@ -119,7 +119,7 @@ hyper_link_get_n_anchors( AtkHyperlink *pLink ) ...@@ -119,7 +119,7 @@ hyper_link_get_n_anchors( AtkHyperlink *pLink )
try { try {
return getHyperlink( pLink )->getAccessibleActionCount(); return getHyperlink( pLink )->getAccessibleActionCount();
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
} }
return 0; return 0;
} }
...@@ -230,7 +230,7 @@ hypertext_get_link( AtkHypertext *hypertext, ...@@ -230,7 +230,7 @@ hypertext_get_link( AtkHypertext *hypertext,
return ATK_HYPERLINK( pLink ); return ATK_HYPERLINK( pLink );
} }
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in getHyperLink()" ); g_warning( "Exception in getHyperLink()" );
} }
...@@ -245,7 +245,7 @@ hypertext_get_n_links( AtkHypertext *hypertext ) ...@@ -245,7 +245,7 @@ hypertext_get_n_links( AtkHypertext *hypertext )
if( pHypertext ) if( pHypertext )
return pHypertext->getHyperLinkCount(); return pHypertext->getHyperLinkCount();
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in getHyperLinkCount()" ); g_warning( "Exception in getHyperLinkCount()" );
} }
...@@ -261,7 +261,7 @@ hypertext_get_link_index( AtkHypertext *hypertext, ...@@ -261,7 +261,7 @@ hypertext_get_link_index( AtkHypertext *hypertext,
if( pHypertext ) if( pHypertext )
return pHypertext->getHyperLinkIndex( index ); return pHypertext->getHyperLinkIndex( index );
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in getHyperLinkIndex()" ); g_warning( "Exception in getHyperLinkIndex()" );
} }
......
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