Commit a136824243e5aa8691a9b1f5fd5401ef7bef1a31
1 parent
4647acbe
Fix exception catch
Showing
1 changed file
with
1 additions
and
1 deletions
libqpdf/QPDFWriter.cc
| ... | ... | @@ -1545,7 +1545,7 @@ QPDFWriter::unparseObject(QPDFObjectHandle object, int level, |
| 1545 | 1545 | filter = object.pipeStreamData( |
| 1546 | 1546 | &discard, true, false, false, true); |
| 1547 | 1547 | } |
| 1548 | - catch (std::exception) | |
| 1548 | + catch (std::exception&) | |
| 1549 | 1549 | { |
| 1550 | 1550 | filter = false; |
| 1551 | 1551 | } | ... | ... |