Skip to content

Commit 316d2da

Browse files
EvgenyB1001iText-CI
authored andcommitted
Add a setter to the modified flag.
DEVSIX-3430
1 parent 1747fba commit 316d2da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

kernel/src/main/java/com/itextpdf/kernel/pdf/PdfNameTree.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@ public boolean isModified() {
153153
return modified;
154154
}
155155

156+
/**
157+
* Sets the modified flag to true. It means that the object has been modified.
158+
*/
159+
public void setModified() {
160+
modified = true;
161+
}
162+
156163
/**
157164
* Build a PdfDictionary containing the name tree
158165
*

0 commit comments

Comments
 (0)