From 6d1b332b411a615ad5677835b92d3dc43d4abd5a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 19 Aug 2016 11:13:36 +0100 Subject: Resolves: coverity#1371451 Useless call seems to be broken since... commit 74bd852583566fdfc7e2e35f8f9bd0ad1c821ecb Author: Stephan Wunderlich Date: Fri Jan 31 13:48:01 2003 +0000 CHG: using AnyConverter instead of simple cast Change-Id: I005618f32ac50d3601e9ad0b790f37c08ba073ce --- qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qadevOOo/tests') diff --git a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java index 8565e3540064..d13e11340134 100644 --- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java @@ -121,7 +121,7 @@ public class ScAutoFormatsObj extends TestCase{ log.println( "adding INSTANCEn as mod relation to environment" ); int THRCNT = 1; if ((String)Param.get("THRCNT") != null) { - Integer.parseInt((String)Param.get("THRCNT")); + THRCNT = Integer.parseInt((String)Param.get("THRCNT")); } for (int n = 1; n < (THRCNT+1) ;n++ ) { log.println( "adding INSTANCE" + n -- cgit