aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFLogger.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/QPDFLogger.cc
parent6b077332d38c093de2618d5e1481b42222106065 (diff)
downloadqpdf-60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2.tar.zst
Rerun clang-format
Diffstat (limited to 'libqpdf/QPDFLogger.cc')
-rw-r--r--libqpdf/QPDFLogger.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/libqpdf/QPDFLogger.cc b/libqpdf/QPDFLogger.cc
index 290ae0a1..76c3c70c 100644
--- a/libqpdf/QPDFLogger.cc
+++ b/libqpdf/QPDFLogger.cc
@@ -198,9 +198,8 @@ QPDFLogger::setSave(std::shared_ptr<Pipeline> p, bool only_if_not_set)
if (p == m->p_stdout) {
auto pt = dynamic_cast<Pl_Track*>(p.get());
if (pt->getUsed()) {
- throw std::logic_error(
- "QPDFLogger: called setSave on standard output after standard"
- " output has already been used");
+ throw std::logic_error("QPDFLogger: called setSave on standard output after standard"
+ " output has already been used");
}
if (m->p_info == m->p_stdout) {
m->p_info = m->p_stderr;
@@ -251,8 +250,7 @@ std::shared_ptr<Pipeline>
QPDFLogger::throwIfNull(std::shared_ptr<Pipeline> p, bool null_okay)
{
if (!(null_okay || p)) {
- throw std::logic_error(
- "QPDFLogger: requested a null pipeline without null_okay == true");
+ throw std::logic_error("QPDFLogger: requested a null pipeline without null_okay == true");
}
return p;
}