]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/pdfimages.cc
drag and drop, removed redundant verb popup code.
[evince.git] / pdf / xpdf / pdfimages.cc
index 3742249613ff95e030c683a3b87ba808d70f2079..5ab74fbd988db3cc14163767d2d5f1fad8f7d82b 100644 (file)
@@ -72,9 +72,9 @@ int main(int argc, char *argv[]) {
   // read config file
   initParams(xpdfConfigFile);
 
-  // open PDF fihe
+  // open PDF file
   xref = NULL;
-  doc = new PDFDoc(new FileStream(fileOpen(fileName)), fileName);
+  doc = new PDFDoc(fileName);
   if (!doc->isOk()) {
     goto err1;
   }