diff options
author | Albert Astals Cid <aacid@kde.org> | 2017-05-05 23:32:32 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2017-05-05 23:32:32 +0200 |
commit | 3c29ded4bee5eadb829ed46af2ec92be57b0077b (patch) | |
tree | e9a549c6258b4303fbb97a8bfda8ca76a45866e1 /poppler/DCTStream.h | |
parent | d73bcd3721f3b53bb97241cc53a6abf807aff782 (diff) |
Make Object free itself on init and destruction
Will make for a *much* easier way to code.
Patches with more std::move coming on top.
Most things seem to work though i'm pretty sure some things are broken.
NEEDS TESTING
Diffstat (limited to 'poppler/DCTStream.h')
-rw-r--r-- | poppler/DCTStream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poppler/DCTStream.h b/poppler/DCTStream.h index cfa06634..00e0484c 100644 --- a/poppler/DCTStream.h +++ b/poppler/DCTStream.h @@ -6,7 +6,7 @@ // // Copyright 2005 Jeff Muizelaar <jeff@infidigm.net> // Copyright 2005 Martin Kretzschmar <martink@gnome.org> -// Copyright 2005-2007, 2009-2011 Albert Astals Cid <aacid@kde.org> +// Copyright 2005-2007, 2009-2011, 2017 Albert Astals Cid <aacid@kde.org> // Copyright 2010 Carlos Garcia Campos <carlosgc@gnome.org> // Copyright 2011 Daiki Ueno <ueno@unixuser.org> // Copyright 2013 Thomas Freitag <Thomas.Freitag@alfa.de> @@ -64,7 +64,7 @@ struct str_error_mgr { class DCTStream: public FilterStream { public: - DCTStream(Stream *strA, int colorXformA, Object *dict, int recursion); + DCTStream(Stream *strA, int colorXformA, Dict *dict, int recursion); ~DCTStream(); StreamKind getKind() override { return strDCT; } void reset() override; |