Skip to content

Commit 7458ad2

Browse files
ar3emiText-CI
authored andcommitted
Remove TODOs in the PdfImageXObject
DEVSIX-4972 Autoported commit. Original commit hash: [c99fd3cbd]
1 parent e5225e9 commit 7458ad2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

itext/itext.kernel/itext/kernel/pdf/xobject/PdfImageXObject.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,6 @@ private static PdfStream CreatePdfStream(ImageData image, iText.Kernel.Pdf.Xobje
401401
if (image.GetFilter() != null) {
402402
stream.Put(PdfName.Filter, new PdfName(image.GetFilter()));
403403
}
404-
//TODO: return to this later
405-
// if (image.getLayer() != null)
406-
// put(PdfName.OC, image.getLayer().getRef());
407404
if (image.GetColorSpace() == -1) {
408405
stream.Remove(PdfName.ColorSpace);
409406
}
@@ -622,7 +619,6 @@ private static PdfArray CreateArray(PdfStream stream, Object[] objects) {
622619
array.Add(CreateArray(stream, (Object[])obj));
623620
}
624621
else {
625-
//TODO instance of was removed due to autoport
626622
array.Add(CreateDictionaryFromMap(stream, (IDictionary<String, Object>)obj));
627623
}
628624
}

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4dcd6f6a0b8ef8b3990717c91aec1dbce057e10c
1+
c99fd3cbd9992f3e9b5bff7676387bc6c677c64c

0 commit comments

Comments
 (0)