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:
Yegor Kozlov 2008-09-08 13:02:21 +00:00
parent c2761bf452
commit 86e9f8c8d7
1 changed files with 1 additions and 1 deletions

View File

@ -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;