git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some bugfixes around -z.
[swftools.git]
/
pdf2swf
/
xpdf
/
Object.cc
diff --git
a/pdf2swf/xpdf/Object.cc
b/pdf2swf/xpdf/Object.cc
index
6d92c6a
..
ddd6da6
100644
(file)
--- a/
pdf2swf/xpdf/Object.cc
+++ b/
pdf2swf/xpdf/Object.cc
@@
-2,15
+2,16
@@
//
// Object.cc
//
//
// Object.cc
//
-// Copyright 1996-2002 Glyph & Cog, LLC
+// Copyright 1996-2003 Glyph & Cog, LLC
//
//========================================================================
//
//========================================================================
-#ifdef __GNUC__
+#include <aconf.h>
+
+#ifdef USE_GCC_PRAGMAS
#pragma implementation
#endif
#pragma implementation
#endif
-#include <aconf.h>
#include <stddef.h>
#include "Object.h"
#include "Array.h"
#include <stddef.h>
#include "Object.h"
#include "Array.h"
@@
-57,6
+58,13
@@
Object *Object::initDict(XRef *xref) {
return this;
}
return this;
}
+Object *Object::initDict(Dict *dictA) {
+ initObj(objDict);
+ dict = dictA;
+ dict->incRef();
+ return this;
+}
+
Object *Object::initStream(Stream *streamA) {
initObj(objStream);
stream = streamA;
Object *Object::initStream(Stream *streamA) {
initObj(objStream);
stream = streamA;