aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Integer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Integer.cc')
-rw-r--r--libqpdf/QPDF_Integer.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/libqpdf/QPDF_Integer.cc b/libqpdf/QPDF_Integer.cc
index 68f97420..24812573 100644
--- a/libqpdf/QPDF_Integer.cc
+++ b/libqpdf/QPDF_Integer.cc
@@ -3,6 +3,7 @@
#include <qpdf/QUtil.hh>
QPDF_Integer::QPDF_Integer(long long val) :
+ QPDFValue(::ot_integer, "integer"),
val(val)
{
}
@@ -31,18 +32,6 @@ QPDF_Integer::getJSON(int json_version)
return JSON::makeInt(this->val);
}
-qpdf_object_type_e
-QPDF_Integer::getTypeCode() const
-{
- return ::ot_integer;
-}
-
-char const*
-QPDF_Integer::getTypeName() const
-{
- return "integer";
-}
-
long long
QPDF_Integer::getVal() const
{