[bug-69669] refactor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925874 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2025-05-27 20:15:50 +00:00
parent 16b53a8bc7
commit 378a0bed06

View File

@ -587,6 +587,8 @@ public abstract class HSLFSimpleShape extends HSLFShape implements SimpleShape<H
@Override
public void setPlaceholder(Placeholder placeholder) {
// reset the placeholder details so that the next call to getPlaceholderDetails() will reinitialize it
_placeholderDetails = null;
updateSPRecord(this, placeholder);
if (placeholder == null) {
@ -640,11 +642,6 @@ public abstract class HSLFSimpleShape extends HSLFShape implements SimpleShape<H
}
break;
}
// reverted this call because of https://bz.apache.org/bugzilla/show_bug.cgi?id=69669
//getPlaceholderDetails().setPlaceholder(placeholder);
// reset the placeholder details so that the next call to getPlaceholderDetails() will reinitialize it
_placeholderDetails = null;
}
@Override