diff options
Diffstat (limited to 'vcl/osx/a11ytextattributeswrapper.mm')
-rw-r--r-- | vcl/osx/a11ytextattributeswrapper.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/a11ytextattributeswrapper.mm b/vcl/osx/a11ytextattributeswrapper.mm index f57aaac2680a..c4f5c5567d66 100644 --- a/vcl/osx/a11ytextattributeswrapper.mm +++ b/vcl/osx/a11ytextattributeswrapper.mm @@ -347,9 +347,9 @@ SAL_WNODEPRECATED_DECLARATIONS_POP [AquaA11yTextAttributesWrapper addMarkup:[wrapper accessibleTextMarkup] toString:string inRange:[origRange rangeValue]]; [ string endEditing ]; } - } catch ( IllegalArgumentException & e ) { + } catch ( IllegalArgumentException & ) { // empty - } catch ( IndexOutOfBoundsException & e ) { + } catch ( IndexOutOfBoundsException & ) { // empty } catch ( RuntimeException& ) { // at least don't crash |