mirror of https://github.com/apache/poi.git
Don't fetch the name, convert to a ptg, then convert back again, instead simply return the name directly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613153 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
38434a684e
commit
626d46ae95
|
@ -151,13 +151,8 @@ public final class WorkbookEvaluator {
|
|||
}
|
||||
|
||||
/* package */ EvaluationName getName(String name, int sheetIndex) {
|
||||
NamePtg namePtg = _workbook.getName(name, sheetIndex).createPtg();
|
||||
|
||||
if(namePtg == null) {
|
||||
return null;
|
||||
} else {
|
||||
return _workbook.getName(namePtg);
|
||||
}
|
||||
EvaluationName evalName = _workbook.getName(name, sheetIndex);
|
||||
return evalName;
|
||||
}
|
||||
|
||||
private static boolean isDebugLogEnabled() {
|
||||
|
|
Loading…
Reference in New Issue