~ubuntu-branches/ubuntu/precise/poppler/precise

« back to all changes in this revision

Viewing changes to utils/ImageOutputDev.cc

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2011-12-05 17:23:02 UTC
  • mfrom: (1.7.1)
  • Revision ID: package-import@ubuntu.com-20111205172302-tmhrk7s9hikjsa79
Tags: 0.18.2-0ubuntu1
* New upstream version, bugs fixed in the new version (lp: #869850):
  - lines and graphics wrongly rendered (lp: #603929) (lp: #780169)
  - rendering issues on some documents (lp: #784154)
  - some pages are displayed blank (lp: #817626)
* debian/control, debian/rules:
  - updated for the libpoppler and libpoppler-glib soname changes
* drop patches included in the new version
* debian/libpoppler-glib-dev.install:
  - drop deprecated test-poppler-glib
* debian/rules: 
  - drop deprecated qt3 and abiword configure options

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
// All changes made under the Poppler project to this file are licensed
14
14
// under GPL version 2 or later
15
15
//
16
 
// Copyright (C) 2005, 2007 Albert Astals Cid <aacid@kde.org>
 
16
// Copyright (C) 2005, 2007, 2011 Albert Astals Cid <aacid@kde.org>
17
17
// Copyright (C) 2006 Rainer Keller <class321@gmx.de>
18
18
// Copyright (C) 2008 Timothy Lee <timothy.lee@siriushk.com>
19
19
// Copyright (C) 2008 Vasile Gaburici <gaburici@cs.umd.edu>
42
42
#include "GfxState.h"
43
43
#include "Object.h"
44
44
#include "Stream.h"
45
 
#ifdef ENABLE_LIBJPEG
46
 
#include "DCTStream.h"
47
 
#endif
48
45
#include "ImageOutputDev.h"
49
46
 
50
47
ImageOutputDev::ImageOutputDev(char *fileRootA, GBool pageNamesA, GBool dumpJPEGA) {
89
86
    }
90
87
 
91
88
    // initialize stream
92
 
    str = ((DCTStream *)str)->getRawStream();
 
89
    str = str->getNextStream();
93
90
    str->reset();
94
91
 
95
92
    // copy the stream
156
153
    }
157
154
 
158
155
    // initialize stream
159
 
    str = ((DCTStream *)str)->getRawStream();
 
156
    str = str->getNextStream();
160
157
    str->reset();
161
158
 
162
159
    // copy the stream