diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java b/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java index 716985ed20..80f799e293 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java @@ -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;