mirror of https://github.com/apache/poi.git
small refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899134 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
058aef3bfb
commit
0bc81c57fd
|
@ -231,10 +231,9 @@ import static org.apache.logging.log4j.util.Unbox.box;
|
|||
|
||||
|
||||
/*package*/ static void updateHyperlinks(Sheet sheet, FormulaShifter formulaShifter) {
|
||||
int sheetIndex = sheet.getWorkbook().getSheetIndex(sheet);
|
||||
List<? extends Hyperlink> hyperlinkList = sheet.getHyperlinkList();
|
||||
final int sheetIndex = sheet.getWorkbook().getSheetIndex(sheet);
|
||||
|
||||
for (Hyperlink hyperlink : hyperlinkList) {
|
||||
for (Hyperlink hyperlink : sheet.getHyperlinkList()) {
|
||||
XSSFHyperlink xhyperlink = (XSSFHyperlink) hyperlink;
|
||||
String cellRef = xhyperlink.getCellRef();
|
||||
CellRangeAddress cra = CellRangeAddress.valueOf(cellRef);
|
||||
|
|
Loading…
Reference in New Issue