diff options
author | Michael Meeks <mmeeks@src.gnome.org> | 1999-08-19 17:57:59 (GMT) |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 1999-08-19 17:57:59 (GMT) |
commit | bf3b381529f5388bd1bda8ed8fafb247a7b8a9fc (patch) | |
tree | 23e95c805c1d878ba0bf90c68765aba383848139 /pdf/xpdf/pdftops.cc | |
parent | 1a49446c08faaab930d3a36bc002b566eadb1ebc (diff) |
Totaly re-hash stream architecture ... again :-)
Now we can compile but not run auxiliary utils.
Diffstat (limited to 'pdf/xpdf/pdftops.cc')
-rw-r--r-- | pdf/xpdf/pdftops.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf/xpdf/pdftops.cc b/pdf/xpdf/pdftops.cc index d79681e..07dca22 100644 --- a/pdf/xpdf/pdftops.cc +++ b/pdf/xpdf/pdftops.cc @@ -61,6 +61,7 @@ int main(int argc, char *argv[]) { PDFDoc *doc; GString *fileName; GString *psFileName; + FILE *file; PSOutputDev *psOut; GBool ok; char *p; @@ -87,7 +88,7 @@ int main(int argc, char *argv[]) { // open PDF file xref = NULL; - doc = new PDFDoc(bxpdfopen(fileName), fileName); + doc = new PDFDoc(new FileStream (fileOpen (fileName)), fileName); if (!doc->isOk()) { goto err1; } |