Skip to content

Commit 02c0f55

Browse files
EvgenyB1001iText-CI
authored andcommitted
Add a setter to the modified flag.
DEVSIX-3430 Autoported commit. Original commit hash: [316d2dadd]
1 parent 437ed90 commit 02c0f55

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

itext/itext.kernel/itext/kernel/pdf/PdfNameTree.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ public virtual bool IsModified() {
142142
return modified;
143143
}
144144

145+
/// <summary>Sets the modified flag to true.</summary>
146+
/// <remarks>Sets the modified flag to true. It means that the object has been modified.</remarks>
147+
public virtual void SetModified() {
148+
modified = true;
149+
}
150+
145151
/// <summary>Build a PdfDictionary containing the name tree</summary>
146152
/// <returns>PdfDictionary containing the name tree</returns>
147153
public virtual PdfDictionary BuildTree() {

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1747fbafe6582852552088346bb16fe3ef4b189c
1+
316d2dadda62a1fb4b5a8e07bd9dc9f34c5afa65

0 commit comments

Comments
 (0)