summaryrefslogtreecommitdiff
path: root/utils/pdftops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/pdftops.cc')
-rw-r--r--utils/pdftops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/pdftops.cc b/utils/pdftops.cc
index 195d179a..7f5f5117 100644
--- a/utils/pdftops.cc
+++ b/utils/pdftops.cc
@@ -375,8 +375,8 @@ int main(int argc, char *argv[]) {
}
// write PostScript file
- psOut = new PSOutputDev(psFileName->getCString(), doc, doc->getXRef(),
- doc->getCatalog(), NULL, firstPage, lastPage, mode,
+ psOut = new PSOutputDev(psFileName->getCString(), doc,
+ NULL, firstPage, lastPage, mode,
paperWidth,
paperHeight,
duplex);