diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScChartsObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScChartsObj.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScChartsObj.java b/qadevOOo/tests/java/mod/_sc/ScChartsObj.java index 674aa6625a5b..c526105b5118 100644 --- a/qadevOOo/tests/java/mod/_sc/ScChartsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScChartsObj.java @@ -251,7 +251,7 @@ public class ScChartsObj extends TestCase { } if (flag.equals("V")) { - oCell.setValue(new Float(theValue).floatValue()); + oCell.setValue(Float.parseFloat(theValue)); } else { oCell.setFormula(theValue); } |