diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 11:31:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 18:14:12 +0200 |
commit | 426eff7c6652033518c22d124f22c423e1ae054b (patch) | |
tree | 14bade5423b031d3c1c3ffe1cf8fb2ba17319312 /qadevOOo/tests/java | |
parent | d4dae168e4d82864636952b7cd4b4ef7e9befd6e (diff) |
cid#1448303 RV: Bad use of return value
Change-Id: I779ba87054cbfc10d2d1b26159c5c4873364ebfa
Reviewed-on: https://gerrit.libreoffice.org/76250
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'qadevOOo/tests/java')
-rw-r--r-- | qadevOOo/tests/java/ifc/style/_ParagraphProperties.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java index d1f134b9f258..88b1cae74dce 100644 --- a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java +++ b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java @@ -329,23 +329,23 @@ public class _ParagraphProperties extends MultiPropertyTest { NumberingRules = (XIndexReplace) AnyConverter.toObject( new Type(XIndexReplace.class), oObj.getPropertyValue("NumberingRules")); } catch (com.sun.star.lang.IllegalArgumentException ex) { - Status.failed( "could not get NumberingRuels: "+ ex.toString() ); + log.println("could not get NumberingRules: "+ ex.toString() ); return; } catch (UnknownPropertyException ex) { - Status.failed( "could not get NumberingRuels: "+ ex.toString() ); + log.println( "could not get NumberingRules: "+ ex.toString() ); return; } catch (WrappedTargetException ex) { - Status.failed( "could not get NumberingRuels: "+ ex.toString() ); + log.println( "could not get NumberingRules: "+ ex.toString() ); return; } try { propertyValues = (PropertyValue[]) NumberingRules.getByIndex(0); } catch (com.sun.star.lang.IndexOutOfBoundsException ex) { - Status.failed( "could not get NumberlingLevel-Array from NumberingRuels: "+ ex.toString() ); + log.println( "could not get NumberlingLevel-Array from NumberingRules: "+ ex.toString() ); return; } catch (WrappedTargetException ex) { - Status.failed( "could not get NumberlingLevel-Array from NumberingRuels: "+ ex.toString() ); + log.println( "could not get NumberlingLevel-Array from NumberingRules: "+ ex.toString() ); return; } |