diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFObjGen.hh | 4 | ||||
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/qpdf/QPDFObjGen.hh b/include/qpdf/QPDFObjGen.hh index a1829b00..df9ef737 100644 --- a/include/qpdf/QPDFObjGen.hh +++ b/include/qpdf/QPDFObjGen.hh @@ -38,7 +38,7 @@ class QPDFObjGen { } QPDF_DLL - explicit QPDFObjGen(int obj, int gen = 0) : + explicit QPDFObjGen(int obj, int gen) : obj(obj), gen(gen) { @@ -77,7 +77,7 @@ class QPDFObjGen bool isIndirect() const { - return obj > 0; + return obj != 0; } QPDF_DLL std::string unparse(char separator = ',') const; diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 8e33085c..790acccd 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -123,7 +123,6 @@ class QPDFObjectHandle Pipeline* pipeline, bool suppress_warnings, bool will_retry); - // The following two overloads are deprecated. QPDF_DLL virtual void provideStreamData(int objid, int generation, Pipeline* pipeline); QPDF_DLL virtual bool provideStreamData( |