summaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r--libqpdf/QPDF.cc24
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()
{