aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Dictionary.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Dictionary.cc')
-rw-r--r--libqpdf/QPDF_Dictionary.cc13
1 files changed, 1 insertions, 12 deletions
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<std::string, QPDFObjectHandle> 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)
{