mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-31 02:48:31 +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…
x
Reference in New Issue
Block a user