diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-13 19:59:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 10:15:14 +0100 |
commit | c8497ae116db47958ba921d03cb1824476b59a49 (patch) | |
tree | a7aca25b4f3a32d3919909c80a9d800b8ffc9493 /vcl | |
parent | 8b47d21e890f3816731b6992f8c0fc4d1f2581d0 (diff) |
-Werror,-Wunused-exception-parameter
Change-Id: I855297c68d2be1a35c8c6a438f64defb8ac377cc
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/a11y/atktext.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/vcl/unx/gtk/a11y/atktext.cxx b/vcl/unx/gtk/a11y/atktext.cxx index 5ac6856222b7..bbcb420c7a19 100644 --- a/vcl/unx/gtk/a11y/atktext.cxx +++ b/vcl/unx/gtk/a11y/atktext.cxx @@ -294,7 +294,7 @@ text_wrapper_get_text (AtkText *text, ret = g_strdup( OUStringToOString(aText, RTL_TEXTENCODING_UTF8 ).getStr() ); } } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in getText()" ); } @@ -319,7 +319,7 @@ text_wrapper_get_text_after_offset (AtkText *text, return adjust_boundaries(pText, aTextSegment, boundary_type, start_offset, end_offset); } } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in get_text_after_offset()" ); } @@ -359,7 +359,7 @@ text_wrapper_get_text_at_offset (AtkText *text, return adjust_boundaries(pText, aTextSegment, boundary_type, start_offset, end_offset); } } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in get_text_at_offset()" ); } @@ -400,7 +400,7 @@ text_wrapper_get_text_before_offset (AtkText *text, return adjust_boundaries(pText, aTextSegment, boundary_type, start_offset, end_offset); } } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in text_before_offset()" ); } @@ -417,7 +417,7 @@ text_wrapper_get_caret_offset (AtkText *text) if( pText ) offset = pText->getCaretPosition(); } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in getCaretPosition()" ); } @@ -437,7 +437,7 @@ text_wrapper_set_caret_offset (AtkText *text, if( pText ) return pText->setCaretPosition( offset ); } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in setCaretPosition()" ); } @@ -589,7 +589,7 @@ text_wrapper_get_run_attributes( AtkText *text, offset, pSet, start_offset, end_offset ); } } - catch(const uno::Exception& e){ + catch(const uno::Exception&){ g_warning( "Exception in get_run_attributes()" ); @@ -620,7 +620,7 @@ text_wrapper_get_default_attributes( AtkText *text ) pSet = attribute_set_new_from_property_values( aAttributeList, false, text ); } } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in get_default_attributes()" ); @@ -672,7 +672,7 @@ text_wrapper_get_character_extents( AtkText *text, #endif } } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in getCharacterBounds" ); } } @@ -687,7 +687,7 @@ text_wrapper_get_character_count (AtkText *text) if( pText ) rv = pText->getCharacterCount(); } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in getCharacterCount" ); } @@ -720,7 +720,7 @@ text_wrapper_get_offset_at_point (AtkText *text, return pText->getIndexAtPoint( awt::Point(x - origin_x, y - origin_y) ); } } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in getIndexAtPoint" ); } @@ -739,7 +739,7 @@ text_wrapper_get_n_selections (AtkText *text) if( pText ) rv = ( pText->getSelectionEnd() > pText->getSelectionStart() ) ? 1 : 0; } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in getSelectionEnd() or getSelectionStart()" ); } @@ -768,7 +768,7 @@ text_wrapper_get_selection (AtkText *text, return OUStringToGChar( pText->getSelectedText() ); } } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in getSelectionEnd(), getSelectionStart() or getSelectedText()" ); } @@ -788,7 +788,7 @@ text_wrapper_add_selection (AtkText *text, if( pText ) return pText->setSelection( start_offset, end_offset ); // ? } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in setSelection()" ); } @@ -806,7 +806,7 @@ text_wrapper_remove_selection (AtkText *text, if( pText ) return pText->setSelection( 0, 0 ); // ? } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in setSelection()" ); } @@ -826,7 +826,7 @@ text_wrapper_set_selection (AtkText *text, if( pText ) return pText->setSelection( start_offset, end_offset ); } - catch(const uno::Exception& e) { + catch(const uno::Exception&) { g_warning( "Exception in setSelection()" ); } |