Skip to content

Commit

Permalink
Fix dump_outline() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
deven committed Dec 7, 2020
1 parent f28b517 commit e71e73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDF/Data.pm
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ sub dump_outline {
my ($self, $file) = @_;

# Call dump_pdf() with outline parameter.
return $self->dump_pdf($file // "-", 1);
return $self->dump_pdf($file // "-", "outline");
}

# Merge content streams.
Expand Down

0 comments on commit e71e73c

Please sign in to comment.