diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index d534a4df..f052cb33 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -477,15 +477,13 @@ class QPDF QPDF_DLL bool isLinearized(); - // Performs various sanity checks on a linearized file. Return - // true if no errors or warnings. Otherwise, return false and + // Performs various sanity checks on a linearized file. Return + // true if no errors or warnings. Otherwise, return false and // output errors and warnings to std::cout or the output stream - // specified in a call to setOutputStreams. + // specified in a call to setOutputStreams. It is recommended for + // linearization errors to be treated as warnings. QPDF_DLL bool checkLinearization(); - // Separately indicate whether there were errors or warnings. - QPDF_DLL - void checkLinearization(bool& errors, bool& warnings); // Calls checkLinearization() and, if possible, prints normalized // contents of some of the hints tables to std::cout or the output @@ -1229,7 +1227,7 @@ class QPDF // methods to support linearization checking -- implemented in // QPDF_linearization.cc void readLinearizationData(); - void checkLinearizationInternal(bool& errors, bool& warnings); + bool checkLinearizationInternal(); void dumpLinearizationDataInternal(); QPDFObjectHandle readHintStream( Pipeline&, qpdf_offset_t offset, size_t length); |