always call Workbook.cloneDrawings when cloning sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693085 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
57625c349f
commit
770dfcf4a4
@ -707,8 +707,8 @@ public class HSSFWorkbook extends POIDocument
|
|||||||
HSSFName newName = new HSSFName(this, newNameRecord);
|
HSSFName newName = new HSSFName(this, newNameRecord);
|
||||||
names.add(newName);
|
names.add(newName);
|
||||||
|
|
||||||
workbook.cloneDrawings(clonedSheet.getSheet());
|
|
||||||
}
|
}
|
||||||
|
workbook.cloneDrawings(clonedSheet.getSheet());
|
||||||
// TODO - maybe same logic required for other/all built-in name records
|
// TODO - maybe same logic required for other/all built-in name records
|
||||||
|
|
||||||
return clonedSheet;
|
return clonedSheet;
|
||||||
|
Loading…
Reference in New Issue
Block a user