1 diff -ur poppler-0.41.0.orig/poppler/Object.h poppler-0.41.0/poppler/Object.h
2 --- poppler-0.41.0.orig/poppler/Object.h Mon Nov 16 06:05:22 2015
3 +++ poppler-0.41.0/poppler/Object.h Wed Feb 17 15:39:51 2016
5 Object *initStream(Stream *streamA);
6 Object *initRef(int numA, int genA)
7 { initObj(objRef); ref.num = numA; ref.gen = genA; return this; }
8 - Object *initCmd(char *cmdA)
9 + Object *initCmd(const char *cmdA)
10 { initObj(objCmd); cmd = copyString(cmdA); return this; }
12 { initObj(objError); return this; }
14 GBool isName(const char *nameA)
15 { return type == objName && !strcmp(name, nameA); }
16 GBool isDict(const char *dictType);
17 - GBool isStream(char *dictType);
18 + GBool isStream(const char *dictType);
19 GBool isCmd(const char *cmdA)
20 { return type == objCmd && !strcmp(cmd, cmdA); }
23 Object *dictGetValNF(int i, Object *obj);
26 - GBool streamIs(char *dictType);
27 + GBool streamIs(const char *dictType);
35 -inline GBool Object::streamIs(char *dictType)
36 +inline GBool Object::streamIs(const char *dictType)
37 { OBJECT_TYPE_CHECK(objStream); return stream->getDict()->is(dictType); }
39 -inline GBool Object::isStream(char *dictType)
40 +inline GBool Object::isStream(const char *dictType)
41 { return type == objStream && streamIs(dictType); }
43 inline void Object::streamReset()