aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFLogger.cc
diff options
context:
space:
mode:
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;
}