aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Name.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Name.cc')
-rw-r--r--libqpdf/QPDF_Name.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Name.cc b/libqpdf/QPDF_Name.cc
index 236d6133..73990775 100644
--- a/libqpdf/QPDF_Name.cc
+++ b/libqpdf/QPDF_Name.cc
@@ -9,6 +9,18 @@ QPDF_Name::QPDF_Name(std::string const& name) :
{
}
+std::shared_ptr<QPDFObject>
+QPDF_Name::create(std::string const& name)
+{
+ return do_create(new QPDF_Name(name));
+}
+
+std::shared_ptr<QPDFObject>
+QPDF_Name::shallowCopy()
+{
+ return create(name);
+}
+
std::string
QPDF_Name::normalizeName(std::string const& name)
{