aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Operator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Operator.cc')
-rw-r--r--libqpdf/QPDF_Operator.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/libqpdf/QPDF_Operator.cc b/libqpdf/QPDF_Operator.cc
index 84bde381..547ff40a 100644
--- a/libqpdf/QPDF_Operator.cc
+++ b/libqpdf/QPDF_Operator.cc
@@ -1,6 +1,7 @@
#include <qpdf/QPDF_Operator.hh>
QPDF_Operator::QPDF_Operator(std::string const& val) :
+ QPDFValue(::ot_operator, "operator"),
val(val)
{
}
@@ -29,18 +30,6 @@ QPDF_Operator::getJSON(int json_version)
return JSON::makeNull();
}
-qpdf_object_type_e
-QPDF_Operator::getTypeCode() const
-{
- return ::ot_operator;
-}
-
-char const*
-QPDF_Operator::getTypeName() const
-{
- return "operator";
-}
-
std::string
QPDF_Operator::getVal() const
{