github #81: sheet names are case insensitive
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1815001 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1bc1bdb58b
commit
fbccf3066c
@ -213,7 +213,7 @@ public final class FormulaShifter {
|
||||
if(ptg instanceof Ref3DPxg) {
|
||||
Ref3DPxg rpxg = (Ref3DPxg)ptg;
|
||||
if (rpxg.getExternalWorkbookNumber() > 0 ||
|
||||
! _sheetName.equals(rpxg.getSheetName())) {
|
||||
! _sheetName.equalsIgnoreCase(rpxg.getSheetName())) {
|
||||
// only move 3D refs that refer to the sheet with cells being moved
|
||||
return null;
|
||||
}
|
||||
@ -239,7 +239,7 @@ public final class FormulaShifter {
|
||||
if(ptg instanceof Area3DPxg) {
|
||||
Area3DPxg apxg = (Area3DPxg)ptg;
|
||||
if (apxg.getExternalWorkbookNumber() > 0 ||
|
||||
! _sheetName.equals(apxg.getSheetName())) {
|
||||
! _sheetName.equalsIgnoreCase(apxg.getSheetName())) {
|
||||
// only move 3D refs that refer to the sheet with cells being moved
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user