diff options
Diffstat (limited to 'libqpdf/Pl_PNGFilter.cc')
-rw-r--r-- | libqpdf/Pl_PNGFilter.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libqpdf/Pl_PNGFilter.cc b/libqpdf/Pl_PNGFilter.cc index 792b4a02..9e493793 100644 --- a/libqpdf/Pl_PNGFilter.cc +++ b/libqpdf/Pl_PNGFilter.cc @@ -1,5 +1,5 @@ - #include <qpdf/Pl_PNGFilter.hh> +#include <stdexcept> #include <string.h> DLL_EXPORT @@ -85,7 +85,7 @@ Pl_PNGFilter::decodeRow() break; case 1: // sub - throw Exception("sub filter not implemented"); + throw std::logic_error("sub filter not implemented"); break; case 2: // up @@ -96,11 +96,11 @@ Pl_PNGFilter::decodeRow() break; case 3: // average - throw Exception("average filter not implemented"); + throw std::logic_error("average filter not implemented"); break; case 4: // Paeth - throw Exception("Paeth filter not implemented"); + throw std::logic_error("Paeth filter not implemented"); break; default: |