aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFWriter.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-07-29 16:21:37 +0200
committerJay Berkenbilt <ejb@ql.org>2017-07-29 18:19:04 +0200
commita136824243e5aa8691a9b1f5fd5401ef7bef1a31 (patch)
treed8120ca871754295e0de0710a38734b4c3178a2f /libqpdf/QPDFWriter.cc
parent4647acbe3c2266e9add3415a06f4c5e84d49f814 (diff)
downloadqpdf-a136824243e5aa8691a9b1f5fd5401ef7bef1a31.tar.zst
Fix exception catch
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r--libqpdf/QPDFWriter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc
index 01309f43..a652b1cf 100644
--- a/libqpdf/QPDFWriter.cc
+++ b/libqpdf/QPDFWriter.cc
@@ -1545,7 +1545,7 @@ QPDFWriter::unparseObject(QPDFObjectHandle object, int level,
filter = object.pipeStreamData(
&discard, true, false, false, true);
}
- catch (std::exception)
+ catch (std::exception&)
{
filter = false;
}