From c7005e8a6d626d1c66bd780314c2520d12b0ca9a Mon Sep 17 00:00:00 2001 From: m-holger Date: Tue, 2 Aug 2022 22:57:33 +0100 Subject: Remove virtual methods QPDFValue::getTypeCode and getTypeName --- libqpdf/QPDF_Dictionary.cc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'libqpdf/QPDF_Dictionary.cc') diff --git a/libqpdf/QPDF_Dictionary.cc b/libqpdf/QPDF_Dictionary.cc index 7f374f81..845bcad8 100644 --- a/libqpdf/QPDF_Dictionary.cc +++ b/libqpdf/QPDF_Dictionary.cc @@ -4,6 +4,7 @@ QPDF_Dictionary::QPDF_Dictionary( std::map const& items) : + QPDFValue(::ot_dictionary, "dictionary"), items(items) { } @@ -57,18 +58,6 @@ QPDF_Dictionary::getJSON(int json_version) return j; } -qpdf_object_type_e -QPDF_Dictionary::getTypeCode() const -{ - return ::ot_dictionary; -} - -char const* -QPDF_Dictionary::getTypeName() const -{ - return "dictionary"; -} - bool QPDF_Dictionary::hasKey(std::string const& key) { -- cgit v1.2.3-70-g09d2