summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/TLpatches/patch-03-Object-functions
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/TLpatches/patch-03-Object-functions')
-rw-r--r--Build/source/libs/poppler/TLpatches/patch-03-Object-functions43
1 files changed, 0 insertions, 43 deletions
diff --git a/Build/source/libs/poppler/TLpatches/patch-03-Object-functions b/Build/source/libs/poppler/TLpatches/patch-03-Object-functions
deleted file mode 100644
index aa3fc750ceb..00000000000
--- a/Build/source/libs/poppler/TLpatches/patch-03-Object-functions
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -ur poppler-0.52.0.orig/poppler/Object.h poppler-0.52.0/poppler/Object.h
---- poppler-0.52.0.orig/poppler/Object.h Tue Jan 17 06:36:58 2017
-+++ poppler-0.52.0/poppler/Object.h Tue Mar 21 12:21:07 2017
-@@ -148,7 +148,7 @@
- Object *initStream(Stream *streamA);
- Object *initRef(int numA, int genA)
- { initObj(objRef); ref.num = numA; ref.gen = genA; return this; }
-- Object *initCmd(char *cmdA)
-+ Object *initCmd(const char *cmdA)
- { initObj(objCmd); cmd = copyString(cmdA); return this; }
- Object *initError()
- { initObj(objError); return this; }
-@@ -195,7 +195,7 @@
- GBool isName(const char *nameA)
- { return type == objName && !strcmp(name, nameA); }
- GBool isDict(const char *dictType);
-- GBool isStream(char *dictType);
-+ GBool isStream(const char *dictType);
- GBool isCmd(const char *cmdA)
- { return type == objCmd && !strcmp(cmd, cmdA); }
-
-@@ -245,7 +245,7 @@
- Object *dictGetValNF(int i, Object *obj);
-
- // Stream accessors.
-- GBool streamIs(char *dictType);
-+ GBool streamIs(const char *dictType);
- void streamReset();
- void streamClose();
- int streamGetChar();
-@@ -352,10 +352,10 @@
-
- #include "Stream.h"
-
--inline GBool Object::streamIs(char *dictType)
-+inline GBool Object::streamIs(const char *dictType)
- { OBJECT_TYPE_CHECK(objStream); return stream->getDict()->is(dictType); }
-
--inline GBool Object::isStream(char *dictType)
-+inline GBool Object::isStream(const char *dictType)
- { return type == objStream && streamIs(dictType); }
-
- inline void Object::streamReset()