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:
parent
4647acbe3c
commit
a136824243
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user