aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDFObject_private.hh
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/qpdf/QPDFObject_private.hh')
-rw-r--r--libqpdf/qpdf/QPDFObject_private.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/libqpdf/qpdf/QPDFObject_private.hh b/libqpdf/qpdf/QPDFObject_private.hh
index 2efda859..3356e3e5 100644
--- a/libqpdf/qpdf/QPDFObject_private.hh
+++ b/libqpdf/qpdf/QPDFObject_private.hh
@@ -68,7 +68,6 @@ class QPDFObject
{
return value->og;
}
-
void
setDescription(
QPDF* qpdf, std::string const& description, qpdf_offset_t offset = -1)
@@ -112,9 +111,14 @@ class QPDFObject
}
void
- setObjGen(QPDF* qpdf, QPDFObjGen const& og)
+ setDefaultDescription(QPDF* qpdf, QPDFObjGen const& og)
{
// Intended for use by the QPDF class
+ value->setDefaultDescription(qpdf, og);
+ }
+ void
+ setObjGen(QPDF* qpdf, QPDFObjGen const& og)
+ {
value->qpdf = qpdf;
value->og = og;
}