[poppler] poppler/FlateStream.h poppler/JPXStream.h poppler/Stream.h

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Jul 31 13:10:38 UTC 2017


 poppler/FlateStream.h |   16 ++++++++--------
 poppler/JPXStream.h   |   16 ++++++++--------
 poppler/Stream.h      |   16 ++++++++--------
 3 files changed, 24 insertions(+), 24 deletions(-)

New commits:
commit 213ae24b4df97f557e771060e37197d0e57f6f7f
Author: Jannick <thirdedition at gmx.net>
Date:   Sun Jul 16 19:51:49 2017 +0200

    added override tag to function declarations

diff --git a/poppler/FlateStream.h b/poppler/FlateStream.h
index 9e3835f0..6a88a234 100644
--- a/poppler/FlateStream.h
+++ b/poppler/FlateStream.h
@@ -46,14 +46,14 @@ public:
 
   FlateStream(Stream *strA, int predictor, int columns, int colors, int bits);
   virtual ~FlateStream();
-  virtual StreamKind getKind() { return strFlate; }
-  virtual void reset();
-  virtual int getChar();
-  virtual int lookChar();
-  virtual int getRawChar();
-  virtual void getRawChars(int nChars, int *buffer);
-  virtual GooString *getPSFilter(int psLevel, const char *indent);
-  virtual GBool isBinary(GBool last = gTrue);
+  virtual StreamKind getKind() override { return strFlate; }
+  virtual void reset() override;
+  virtual int getChar() override;
+  virtual int lookChar() override;
+  virtual int getRawChar() override;
+  virtual void getRawChars(int nChars, int *buffer) override;
+  virtual GooString *getPSFilter(int psLevel, const char *indent) override;
+  virtual GBool isBinary(GBool last = gTrue) override;
 
 private:
   inline int doGetRawChar() {
diff --git a/poppler/JPXStream.h b/poppler/JPXStream.h
index 30855431..8926ffe5 100644
--- a/poppler/JPXStream.h
+++ b/poppler/JPXStream.h
@@ -262,15 +262,15 @@ public:
 
   JPXStream(Stream *strA);
   virtual ~JPXStream();
-  virtual StreamKind getKind() { return strJPX; }
-  virtual void reset();
-  virtual void close();
-  virtual int getChar();
-  virtual int lookChar();
-  virtual GooString *getPSFilter(int psLevel, const char *indent);
-  virtual GBool isBinary(GBool last = gTrue);
+  virtual StreamKind getKind() override { return strJPX; }
+  virtual void reset() override;
+  virtual void close() override;
+  virtual int getChar() override;
+  virtual int lookChar() override;
+  virtual GooString *getPSFilter(int psLevel, const char *indent) override;
+  virtual GBool isBinary(GBool last = gTrue) override;
   virtual void getImageParams(int *bitsPerComponent,
-			      StreamColorSpaceMode *csMode);
+			      StreamColorSpaceMode *csMode) override;
 
 private:
 
diff --git a/poppler/Stream.h b/poppler/Stream.h
index 91b524fe..f3cf38b1 100644
--- a/poppler/Stream.h
+++ b/poppler/Stream.h
@@ -870,15 +870,15 @@ public:
 
   DCTStream(Stream *strA, int colorXformA, Object *dict, int recursion);
   virtual ~DCTStream();
-  virtual StreamKind getKind() { return strDCT; }
-  virtual void reset();
-  virtual void close();
-  virtual int getChar();
-  virtual int lookChar();
-  virtual GooString *getPSFilter(int psLevel, const char *indent);
-  virtual GBool isBinary(GBool last = gTrue);
+  StreamKind getKind() override { return strDCT; }
+  void reset() override;
+  void close() override;
+  int getChar() override;
+  int lookChar() override;
+  GooString *getPSFilter(int psLevel, const char *indent) override;
+  GBool isBinary(GBool last = gTrue) override;
 
-  virtual void unfilteredReset();
+  void unfilteredReset() override;
 
 private:
 


More information about the poppler mailing list