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

-Werror,-Wunused-exception-parameter

Change-Id: Ibd913043822c9901bad8495944367915df10b1f4
üst eecfc1e2
...@@ -69,7 +69,7 @@ editable_text_wrapper_set_run_attributes( AtkEditableText *text, ...@@ -69,7 +69,7 @@ editable_text_wrapper_set_run_attributes( AtkEditableText *text,
return pEditableText->setAttributes(nStartOffset, nEndOffset, aAttributeList); return pEditableText->setAttributes(nStartOffset, nEndOffset, aAttributeList);
} }
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in setAttributes()" ); g_warning( "Exception in setAttributes()" );
} }
...@@ -88,7 +88,7 @@ editable_text_wrapper_set_text_contents( AtkEditableText *text, ...@@ -88,7 +88,7 @@ editable_text_wrapper_set_text_contents( AtkEditableText *text,
pEditableText->setText( aString ); pEditableText->setText( aString );
} }
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in setText()" ); g_warning( "Exception in setText()" );
} }
} }
...@@ -108,7 +108,7 @@ editable_text_wrapper_insert_text( AtkEditableText *text, ...@@ -108,7 +108,7 @@ editable_text_wrapper_insert_text( AtkEditableText *text,
*pos += length; *pos += length;
} }
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in insertText()" ); g_warning( "Exception in insertText()" );
} }
} }
...@@ -123,7 +123,7 @@ editable_text_wrapper_cut_text( AtkEditableText *text, ...@@ -123,7 +123,7 @@ editable_text_wrapper_cut_text( AtkEditableText *text,
if( pEditableText ) if( pEditableText )
pEditableText->cutText( start, end ); pEditableText->cutText( start, end );
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in cutText()" ); g_warning( "Exception in cutText()" );
} }
} }
...@@ -138,7 +138,7 @@ editable_text_wrapper_delete_text( AtkEditableText *text, ...@@ -138,7 +138,7 @@ editable_text_wrapper_delete_text( AtkEditableText *text,
if( pEditableText ) if( pEditableText )
pEditableText->deleteText( start, end ); pEditableText->deleteText( start, end );
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in deleteText()" ); g_warning( "Exception in deleteText()" );
} }
} }
...@@ -152,7 +152,7 @@ editable_text_wrapper_paste_text( AtkEditableText *text, ...@@ -152,7 +152,7 @@ editable_text_wrapper_paste_text( AtkEditableText *text,
if( pEditableText ) if( pEditableText )
pEditableText->pasteText( pos ); pEditableText->pasteText( pos );
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in pasteText()" ); g_warning( "Exception in pasteText()" );
} }
} }
...@@ -167,7 +167,7 @@ editable_text_wrapper_copy_text( AtkEditableText *text, ...@@ -167,7 +167,7 @@ editable_text_wrapper_copy_text( AtkEditableText *text,
if( pEditableText ) if( pEditableText )
pEditableText->copyText( start, end ); pEditableText->copyText( start, end );
} }
catch(const uno::Exception& e) { catch(const uno::Exception&) {
g_warning( "Exception in copyText()" ); g_warning( "Exception in copyText()" );
} }
} }
......
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