diff options
Diffstat (limited to 'src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSheet.java')
-rw-r--r-- | src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSheet.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSheet.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSheet.java index e241643869..9a010661c5 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSheet.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSheet.java @@ -236,10 +236,7 @@ public abstract class HSLFSheet implements HSLFShapeContainer, Sheet<HSLFShape,H return false; } - List<EscherRecord> lst = spgr.getChildRecords(); - boolean result = lst.remove(shape.getSpContainer()); - spgr.setChildRecords(lst); - return result; + return spgr.removeChildRecord(shape.getSpContainer()); } /** |