diff options
author | Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> | 2007-09-23 22:41:59 -0700 |
---|---|---|
committer | Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> | 2007-09-23 22:41:59 -0700 |
commit | e9dc379190aa3166870d0b11a05ccc4e9dad2706 (patch) | |
tree | 1a04e245d4db408fd00ec984c891537f627afc59 /poppler/ArthurOutputDev.cc | |
parent | 08bf7c1151d594d4c7d253a2c89f4f3a088ad8ec (diff) |
Remove unused variables.
Diffstat (limited to 'poppler/ArthurOutputDev.cc')
-rw-r--r-- | poppler/ArthurOutputDev.cc | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/poppler/ArthurOutputDev.cc b/poppler/ArthurOutputDev.cc index 1f509ead..134c05c5 100644 --- a/poppler/ArthurOutputDev.cc +++ b/poppler/ArthurOutputDev.cc @@ -78,20 +78,16 @@ ArthurOutputDev::~ArthurOutputDev() } void ArthurOutputDev::startDoc(XRef *xrefA) { - int i; - xref = xrefA; - if (m_fontEngine) { - delete m_fontEngine; - } + delete m_fontEngine; m_fontEngine = new SplashFontEngine( #if HAVE_T1LIB_H - globalParams->getEnableT1lib(), + globalParams->getEnableT1lib(), #endif #if HAVE_FREETYPE_FREETYPE_H || HAVE_FREETYPE_H - globalParams->getEnableFreeType(), + globalParams->getEnableFreeType(), #endif - globalParams->getAntialias()); + globalParams->getAntialias()); } void ArthurOutputDev::startPage(int pageNum, GfxState *state) @@ -497,7 +493,6 @@ void ArthurOutputDev::drawChar(GfxState *state, double x, double y, // fill if (!(render & 1)) { int x0, y0, xFrac, yFrac; - SplashGlyphBitmap glyph; x0 = static_cast<int>(floor(x1)); xFrac = splashFloor((x1 - x0) * splashFontFraction); @@ -681,8 +676,7 @@ void ArthurOutputDev::drawImage(GfxState *state, Object *ref, Stream *str, int x, y; ImageStream *imgStr; Guchar *pix; - GfxRGB rgb; - int alpha, i; + int i; double *ctm; QMatrix matrix; int is_identity_transform; |