From 426eff7c6652033518c22d124f22c423e1ae054b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 24 Jul 2019 11:31:58 +0100 Subject: cid#1448303 RV: Bad use of return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I779ba87054cbfc10d2d1b26159c5c4873364ebfa Reviewed-on: https://gerrit.libreoffice.org/76250 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- qadevOOo/tests/java/ifc/style/_ParagraphProperties.java | 10 +++++----- 1 file 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; } -- cgit