From 8343267884de708b9a4cb07a48bb5392477c690f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Oct 2015 15:26:51 +0200 Subject: cid#1326748 Dm: Dubious method used Change-Id: I65aeab2e0d726b09c86789c90cc5d56dc5098bf3 --- qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qadevOOo') diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java index f3e5fc150234..88aa783647b0 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java +++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java @@ -117,7 +117,7 @@ public class _XSheetAuditing extends MultiMethodTest { requiredMethod("clearArrows()"); // construct an error: square root from -3 xPrecedentAddress.setValue(-9); - String cellAddress = new String(new byte[]{(byte)(precedentAddress.Column + 65)}) + (precedentAddress.Row+1); + String cellAddress = "" + (char)('A' + precedentAddress.Column) + (precedentAddress.Row + 1); xAddress.setFormula("=SQRT(" + cellAddress + ")"); XText xText = UnoRuntime.queryInterface(XText.class, xAddress); // correct error in cell: -- cgit