diff options
Diffstat (limited to 'apps/common/pdftool.c')
-rw-r--r-- | apps/common/pdftool.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/common/pdftool.c b/apps/common/pdftool.c index fdabc2d6..97a95043 100644 --- a/apps/common/pdftool.c +++ b/apps/common/pdftool.c @@ -66,6 +66,14 @@ void openxref(char *filename, char *password, int dieonbadpass) pagecount = pdf_getpagecount(xref); } +void flushxref(void) +{ + if (xref) + { + pdf_flushxref(xref, 0); + } +} + void closexref(void) { if (cleanup) |