diff options
Diffstat (limited to 'libqpdf/QPDFXRefEntry.cc')
-rw-r--r-- | libqpdf/QPDFXRefEntry.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libqpdf/QPDFXRefEntry.cc b/libqpdf/QPDFXRefEntry.cc index aaab09d0..8eb2ee1e 100644 --- a/libqpdf/QPDFXRefEntry.cc +++ b/libqpdf/QPDFXRefEntry.cc @@ -18,8 +18,8 @@ QPDFXRefEntry::QPDFXRefEntry(int type, qpdf_offset_t field1, int field2) : { if ((type < 1) || (type > 2)) { - throw std::logic_error( - "invalid xref type " + QUtil::int_to_string(type)); + throw std::logic_error( + "invalid xref type " + QUtil::int_to_string(type)); } } @@ -34,8 +34,8 @@ QPDFXRefEntry::getOffset() const { if (this->type != 1) { - throw std::logic_error( - "getOffset called for xref entry of type != 1"); + throw std::logic_error( + "getOffset called for xref entry of type != 1"); } return this->field1; } @@ -45,8 +45,8 @@ QPDFXRefEntry::getObjStreamNumber() const { if (this->type != 2) { - throw std::logic_error( - "getObjStreamNumber called for xref entry of type != 2"); + throw std::logic_error( + "getObjStreamNumber called for xref entry of type != 2"); } return QIntC::to_int(this->field1); } @@ -56,8 +56,8 @@ QPDFXRefEntry::getObjStreamIndex() const { if (this->type != 2) { - throw std::logic_error( - "getObjStreamIndex called for xref entry of type != 2"); + throw std::logic_error( + "getObjStreamIndex called for xref entry of type != 2"); } return this->field2; } |