From 86e9f8c8d71a3eb2a16439ffd19a25c7716317c2 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Mon, 8 Sep 2008 13:02:21 +0000 Subject: [PATCH] always call Workbook.cloneDrawings when cloning sheets git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@693085 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;