summaryrefslogtreecommitdiff
path: root/qadevOOo/tests
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-19 11:13:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-19 13:00:44 +0100
commit6d1b332b411a615ad5677835b92d3dc43d4abd5a (patch)
tree2f0dc031329d28aa11b6665bc1fb198fb04c314e /qadevOOo/tests
parenta75d49241df2e0dd2f1bcd3ce7fae3197eb5afe8 (diff)
Resolves: coverity#1371451 Useless call
seems to be broken since... commit 74bd852583566fdfc7e2e35f8f9bd0ad1c821ecb Author: Stephan Wunderlich <sw@openoffice.org> Date: Fri Jan 31 13:48:01 2003 +0000 CHG: using AnyConverter instead of simple cast Change-Id: I005618f32ac50d3601e9ad0b790f37c08ba073ce
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java2
1 files changed, 1 insertions, 1 deletions
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