HWPF SectionProperties implements Cloneable

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-07-17 10:07:06 +00:00
parent 3a50581584
commit 7c4a4270a0

View File

@ -19,7 +19,7 @@ package org.apache.poi.hwpf.usermodel;
import org.apache.poi.hwpf.model.types.SEPAbstractType;
public final class SectionProperties extends SEPAbstractType
public final class SectionProperties extends SEPAbstractType implements Cloneable
{
private short field_60_rncftn;
private short field_61_rncedn;
@ -37,6 +37,7 @@ public final class SectionProperties extends SEPAbstractType
field_26_dttmPropRMark = new DateAndTime();
}
@Override
public Object clone() throws CloneNotSupportedException
{
SectionProperties copy = (SectionProperties) super.clone();