diff options
Diffstat (limited to 'libqpdf/QPDF_pages.cc')
-rw-r--r-- | libqpdf/QPDF_pages.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_pages.cc b/libqpdf/QPDF_pages.cc index fe23e850..d95002a6 100644 --- a/libqpdf/QPDF_pages.cc +++ b/libqpdf/QPDF_pages.cc @@ -166,7 +166,7 @@ QPDF::flattenPagesTree() // /Count has not changed if (pages.getKey("/Count").getUIntValue() != len) { - throw std::logic_error("/Count is wrong after flattening pages tree"); + throw std::runtime_error("/Count is wrong after flattening pages tree"); } } |