aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFXRefEntry.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-05-21 19:35:09 +0200
committerJay Berkenbilt <ejb@ql.org>2023-05-21 19:35:09 +0200
commit60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2 (patch)
treea707602da466c02ff1a54b3263c3a881cd7204a4 /libqpdf/QPDFXRefEntry.cc
parent6b077332d38c093de2618d5e1481b42222106065 (diff)
downloadqpdf-60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2.tar.zst
Rerun clang-format
Diffstat (limited to 'libqpdf/QPDFXRefEntry.cc')
-rw-r--r--libqpdf/QPDFXRefEntry.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libqpdf/QPDFXRefEntry.cc b/libqpdf/QPDFXRefEntry.cc
index 0d66028c..7be98b2a 100644
--- a/libqpdf/QPDFXRefEntry.cc
+++ b/libqpdf/QPDFXRefEntry.cc
@@ -36,8 +36,7 @@ int
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);
}
@@ -46,8 +45,7 @@ int
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;
}