]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Object.cc
Fix mouse wheel scrolling
[evince.git] / pdf / xpdf / Object.cc
index b0976fdea84134ede965f0ec6c456983185f3b2b..ddd6da693cd771902347191b52efff2197366b76 100644 (file)
@@ -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;