[poppler] poppler/Object.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 22 21:03:48 UTC 2019
poppler/Object.h | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit c646fca7d0e3837942c6e431673af0f79a52b276
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Nov 22 21:53:50 2019 +0100
Remove Object::streamIs and Object::isStream(const char *)
diff --git a/poppler/Object.h b/poppler/Object.h
index 5f129c3d..250f7e03 100644
--- a/poppler/Object.h
+++ b/poppler/Object.h
@@ -236,7 +236,6 @@ public:
bool isName(const char *nameA) const
{ return type == objName && !strcmp(cString, nameA); }
bool isDict(const char *dictType) const;
- bool isStream(const char *dictType) const;
bool isCmd(const char *cmdA) const
{ return type == objCmd && !strcmp(cString, cmdA); }
@@ -292,7 +291,6 @@ public:
const Object &dictGetValNF(int i) const;
// Stream accessors.
- bool streamIs(const char *dictType) const;
void streamReset();
void streamClose();
int streamGetChar() const;
@@ -396,12 +394,6 @@ inline const Object &Object::dictGetValNF(int i) const
#include "Stream.h"
-inline bool Object::streamIs(const char *dictType) const
- { OBJECT_TYPE_CHECK(objStream); return stream->getDict()->is(dictType); }
-
-inline bool Object::isStream(const char *dictType) const
- { return type == objStream && streamIs(dictType); }
-
inline void Object::streamReset()
{ OBJECT_TYPE_CHECK(objStream); stream->reset(); }
More information about the poppler
mailing list