Fix regression introduced by r1516969

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1517180 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2013-08-24 18:33:00 +00:00
parent 18d369ed86
commit 84ef8c5970

View File

@ -20,8 +20,8 @@ package org.apache.poi.ss.util;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.apache.poi.ss.formula.SheetNameFormatter;
import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.SpreadsheetVersion;
import org.apache.poi.ss.formula.SheetNameFormatter;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
/** /**
@ -427,7 +427,7 @@ public class CellReference {
// The letter A is at 65 // The letter A is at 65
char colChar = (char)(thisPart+64); char colChar = (char)(thisPart+64);
colRef.append(colChar); colRef.insert(0, colChar);
} }
return colRef.toString(); return colRef.toString();
@ -455,6 +455,7 @@ public class CellReference {
return sb.toString(); return sb.toString();
} }
@Override
public String toString() { public String toString() {
StringBuffer sb = new StringBuffer(64); StringBuffer sb = new StringBuffer(64);
sb.append(getClass().getName()).append(" ["); sb.append(getClass().getName()).append(" [");