summaryrefslogtreecommitdiff
path: root/test/pdf-inspector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/pdf-inspector.cc')
-rw-r--r--test/pdf-inspector.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pdf-inspector.cc b/test/pdf-inspector.cc
index d4a564d3..5598db6a 100644
--- a/test/pdf-inspector.cc
+++ b/test/pdf-inspector.cc
@@ -310,7 +310,7 @@ PdfInspector::load(const char *file_name)
gtk_spin_button_set_range (GTK_SPIN_BUTTON (spin), 0, doc->getNumPages()-1);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (spin), 0);
- output->startDoc (doc->getXRef(), doc->getCatalog());
+ output->startDoc (doc);
}
else
{