2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-03 19:00:51 +00:00

Fix exception catch

This commit is contained in:
Jay Berkenbilt 2017-07-29 10:21:37 -04:00
parent 4647acbe3c
commit a136824243

View File

@ -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;
}