summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-14 15:26:51 +0200
committerNoel Grandin <noel@peralex.com>2015-10-14 15:45:43 +0200
commit8343267884de708b9a4cb07a48bb5392477c690f (patch)
tree406d83f5eb3fb978104cadf9678189c5e1fd8b4b /qadevOOo
parent7974269a84ebf2f1264a0964155d23f9885b1808 (diff)
cid#1326748 Dm: Dubious method used
Change-Id: I65aeab2e0d726b09c86789c90cc5d56dc5098bf3
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java2
1 files changed, 1 insertions, 1 deletions
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: