diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-10-20 02:24:44 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-10-20 02:24:44 +0200 |
commit | 398354b6f0c5e8311496481c2b80c1eb4bec4424 (patch) | |
tree | 538fe208893671fd7c10e24c7b79549b972ab18f /include/qpdf/QPDF.hh | |
parent | 3f8c4c273649c857f5a607dcbb422729fce3a166 (diff) | |
download | qpdf-398354b6f0c5e8311496481c2b80c1eb4bec4424.tar.zst |
update C API for error retrieval
git-svn-id: svn+q:///qpdf/trunk@830 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include/qpdf/QPDF.hh')
-rw-r--r-- | include/qpdf/QPDF.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index 178d71c7..3f66a5f9 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -70,7 +70,7 @@ class DLL_EXPORT QPDF // throws an exception. Note that if setSuppressWarnings was not // called or was called with a false value, any warnings retrieved // here will have already been issued to stderr. - std::vector<std::string> getWarnings(); + std::vector<QPDFExc> getWarnings(); std::string getFilename() const; std::string getPDFVersion() const; @@ -761,7 +761,7 @@ class DLL_EXPORT QPDF std::map<ObjGen, ObjCache> obj_cache; QPDFObjectHandle trailer; std::vector<QPDFObjectHandle> all_pages; - std::vector<std::string> warnings; + std::vector<QPDFExc> warnings; // Linearization data int first_xref_item_offset; // actual value from file |