summaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Name.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_Name.cc
parent27fae2b55e835a41277df78f090d4baf6fe05c1e (diff)
downloadqpdf-c7005e8a6d626d1c66bd780314c2520d12b0ca9a.tar.zst
Remove virtual methods QPDFValue::getTypeCode and getTypeName
Diffstat (limited to 'libqpdf/QPDF_Name.cc')
-rw-r--r--libqpdf/QPDF_Name.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/libqpdf/QPDF_Name.cc b/libqpdf/QPDF_Name.cc
index 6831bcba..c86d34b4 100644
--- a/libqpdf/QPDF_Name.cc
+++ b/libqpdf/QPDF_Name.cc
@@ -5,6 +5,7 @@
#include <string.h>
QPDF_Name::QPDF_Name(std::string const& name) :
+ QPDFValue(::ot_name, "name"),
name(name)
{
}
@@ -61,18 +62,6 @@ QPDF_Name::getJSON(int json_version)
}
}
-qpdf_object_type_e
-QPDF_Name::getTypeCode() const
-{
- return ::ot_name;
-}
-
-char const*
-QPDF_Name::getTypeName() const
-{
- return "name";
-}
-
std::string
QPDF_Name::getName() const
{