Skip to content

Commit c965cf5

Browse files
committed
PDFBOX-6009: remove empty OBJR dictionary
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1925773 13f79535-47bb-0310-9956-ffa450edef68
1 parent b6cc5f8 commit c965cf5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pdfbox/src/main/java/org/apache/pdfbox/multipdf/Splitter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,10 @@ else if (srcObj != null) // 079177.pdf
471471
{
472472
removePossibleOrphanAnnotation(srcObj, srcDict, currentPageDict, dstDict);
473473
}
474+
if (dstDict.size() == 1)
475+
{
476+
return null;
477+
}
474478
}
475479
else
476480
{

0 commit comments

Comments
 (0)