diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-07-10 17:07:40 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-07-10 17:30:13 +0200 |
commit | cee2592ed1f1c8ac5ca3048c48ac082e47358a6b (patch) | |
tree | 8b11981c79058629f949fc81e5cf273195dfc46c /libqpdf/QPDF.cc | |
parent | f31e526d67aa0399ae8d03ce5a7d5b325fce6f47 (diff) | |
download | qpdf-cee2592ed1f1c8ac5ca3048c48ac082e47358a6b.tar.zst |
Change API/ABI and withdraw 4.2.0
4.2.0 was binary incompatible in spite of there being no deletions or
changes to any public methods. As such, we have to bump the ABI and
are fixing some API breakage while we're at it.
Previous 4.3.0 target is now 5.1.0.
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r-- | libqpdf/QPDF.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index 2bdfa963..1126b5fa 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -1952,30 +1952,6 @@ QPDF::getObjectStreamData(std::map<int, int>& omap) } } -std::vector<int> -QPDF::getCompressibleObjects() -{ - std::vector<QPDFObjGen> objects = getCompressibleObjGens(); - std::vector<int> result; - for (std::vector<QPDFObjGen>::iterator iter = objects.begin(); - iter != objects.end(); ++iter) - { - if ((*iter).getGen() != 0) - { - throw std::logic_error( - "QPDF::getCompressibleObjects() would return an object ID" - " for an object with generation != 0. Use" - " QPDF::getCompressibleObjGens() instead." - " See comments in QPDF.hh."); - } - else - { - result.push_back((*iter).getObj()); - } - } - return result; -} - std::vector<QPDFObjGen> QPDF::getCompressibleObjGens() { |