From 073808aa50f0c78e2d6fea4f56f0b814b314eb42 Mon Sep 17 00:00:00 2001 From: m-holger Date: Tue, 26 Jul 2022 12:37:50 +0100 Subject: Code tidy : replace 0 with nullptr or true --- libqpdf/QPDFObject.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libqpdf/QPDFObject.cc') diff --git a/libqpdf/QPDFObject.cc b/libqpdf/QPDFObject.cc index 39a5fa50..382dd6c6 100644 --- a/libqpdf/QPDFObject.cc +++ b/libqpdf/QPDFObject.cc @@ -1,7 +1,7 @@ #include QPDFObject::QPDFObject() : - owning_qpdf(0), + owning_qpdf(nullptr), parsed_offset(-1) { } @@ -25,13 +25,13 @@ QPDFObject::getDescription(QPDF*& qpdf, std::string& description) { qpdf = this->owning_qpdf; description = this->object_description; - return this->owning_qpdf != 0; + return this->owning_qpdf != nullptr; } bool QPDFObject::hasDescription() { - return this->owning_qpdf != 0; + return this->owning_qpdf != nullptr; } void -- cgit v1.2.3-54-g00ecf