aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/Pl_RC4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/Pl_RC4.cc')
-rw-r--r--libqpdf/Pl_RC4.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libqpdf/Pl_RC4.cc b/libqpdf/Pl_RC4.cc
index e176511f..1a5dc031 100644
--- a/libqpdf/Pl_RC4.cc
+++ b/libqpdf/Pl_RC4.cc
@@ -1,6 +1,4 @@
-
#include <qpdf/Pl_RC4.hh>
-
#include <qpdf/QUtil.hh>
DLL_EXPORT
@@ -30,7 +28,7 @@ Pl_RC4::write(unsigned char* data, int len)
{
if (this->outbuf == 0)
{
- throw Exception(
+ throw std::logic_error(
this->identifier +
": Pl_RC4: write() called after finish() called");
}