summaryrefslogtreecommitdiff
path: root/test/pdf-inspector.cc
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2011-09-01 15:47:32 +0200
committerAlbert Astals Cid <aacid@kde.org>2011-09-01 15:47:32 +0200
commit7d794f6411499fb8f26778bf2b54cb9734d004af (patch)
treedae831f724b22108dbc256896293a852b91b46f1 /test/pdf-inspector.cc
parent52fb80a7b3f98eb8322a7ba84e2900f044b3a18a (diff)
xpdf303: API rework, Gfx wants a PDFDoc instead of an XRef
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
{