Ignore:
Timestamp:
Apr 12, 2009, 11:57:25 AM (13 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: Poppler library updated to version 0.10.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/poppler/FileSpec.cc

    r257 r271  
    7676#endif
    7777      obj1.free();
    78       fileSpec->dictLookup("F", &obj1);
    79     }
    80    
    81     if (obj1.isString()) {
    82        name = obj1.getString()->copy();
    83     } else {
    84       error(-1, "Illegal file spec in link");
     78      if (fileSpec->dictLookup("UF", &obj1)->isString ()) {
     79        name = obj1.getString()->copy();
     80      } else if (fileSpec->dictLookup("F", &obj1)->isString ()) {
     81        name = obj1.getString()->copy();
     82      } else {
     83        error(-1, "Illegal file spec in link");
     84      }
    8585    }
    8686    obj1.free();
Note: See TracChangeset for help on using the changeset viewer.