mirror of https://github.com/apache/poi.git
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
c2761bf452
commit
86e9f8c8d7
|
@ -707,8 +707,8 @@ public class HSSFWorkbook extends POIDocument
|
|||
HSSFName newName = new HSSFName(this, newNameRecord);
|
||||
names.add(newName);
|
||||
|
||||
workbook.cloneDrawings(clonedSheet.getSheet());
|
||||
}
|
||||
workbook.cloneDrawings(clonedSheet.getSheet());
|
||||
// TODO - maybe same logic required for other/all built-in name records
|
||||
|
||||
return clonedSheet;
|
||||
|
|
Loading…
Reference in New Issue