summaryrefslogtreecommitdiffstats
path: root/libtests/png_filter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/png_filter.cc')
-rw-r--r--libtests/png_filter.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/libtests/png_filter.cc b/libtests/png_filter.cc
index a4b8a110..b735f338 100644
--- a/libtests/png_filter.cc
+++ b/libtests/png_filter.cc
@@ -1,4 +1,3 @@
-
#include <qpdf/Pl_PNGFilter.hh>
#include <qpdf/Pl_StdioFile.hh>
@@ -79,9 +78,9 @@ int main(int argc, char* argv[])
{
run(filename, encode, columns);
}
- catch (QEXC::General& e)
+ catch (std::exception& e)
{
- std::cout << e.unparse() << std::endl;
+ std::cout << e.what() << std::endl;
}
return 0;
}