Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/Object.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/xpdf/Object.cc')
-rw-r--r--pdf/xpdf/Object.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/pdf/xpdf/Object.cc b/pdf/xpdf/Object.cc
index b0976fd..ddd6da6 100644
--- a/pdf/xpdf/Object.cc
+++ b/pdf/xpdf/Object.cc
@@ -58,6 +58,13 @@ Object *Object::initDict(XRef *xref) {
return this;
}
+Object *Object::initDict(Dict *dictA) {
+ initObj(objDict);
+ dict = dictA;
+ dict->incRef();
+ return this;
+}
+
Object *Object::initStream(Stream *streamA) {
initObj(objStream);
stream = streamA;