aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Integer.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-08-02 23:57:33 +0200
committerm-holger <m-holger@kubitscheck.org>2022-09-01 15:29:02 +0200
commitc7005e8a6d626d1c66bd780314c2520d12b0ca9a (patch)
tree45c4e9d2c7f854fe3fd6823d7c867c42f2f6d241 /libqpdf/QPDF_Integer.cc
parent27fae2b55e835a41277df78f090d4baf6fe05c1e (diff)
downloadqpdf-c7005e8a6d626d1c66bd780314c2520d12b0ca9a.tar.zst
Remove virtual methods QPDFValue::getTypeCode and getTypeName
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
{