aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_String.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_String.cc
parent27fae2b55e835a41277df78f090d4baf6fe05c1e (diff)
downloadqpdf-c7005e8a6d626d1c66bd780314c2520d12b0ca9a.tar.zst
Remove virtual methods QPDFValue::getTypeCode and getTypeName
Diffstat (limited to 'libqpdf/QPDF_String.cc')
-rw-r--r--libqpdf/QPDF_String.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/libqpdf/QPDF_String.cc b/libqpdf/QPDF_String.cc
index c8e21463..c6cb6c41 100644
--- a/libqpdf/QPDF_String.cc
+++ b/libqpdf/QPDF_String.cc
@@ -21,6 +21,7 @@ is_iso_latin1_printable(char ch)
}
QPDF_String::QPDF_String(std::string const& val) :
+ QPDFValue(::ot_string, "string"),
val(val)
{
}
@@ -84,18 +85,6 @@ QPDF_String::getJSON(int json_version)
return JSON::makeString(result);
}
-qpdf_object_type_e
-QPDF_String::getTypeCode() const
-{
- return ::ot_string;
-}
-
-char const*
-QPDF_String::getTypeName() const
-{
- return "string";
-}
-
bool
QPDF_String::useHexString() const
{