[poppler] poppler/TextOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Apr 27 00:46:31 PDT 2011


 poppler/TextOutputDev.cc |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 6656cf657b62d626910a02dfae9b6a1eb77772dd
Author: Albert Astals Cid <aacid at kde.org>
Date:   Wed Apr 27 08:46:37 2011 +0100

    Remove unused vars

diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc
index 13c67c6..91b8c34 100644
--- a/poppler/TextOutputDev.cc
+++ b/poppler/TextOutputDev.cc
@@ -17,7 +17,7 @@
 // Copyright (C) 2006 Jeff Muizelaar <jeff at infidigm.net>
 // Copyright (C) 2007, 2008 Adrian Johnson <ajohnson at redneon.com>
 // Copyright (C) 2008 Koji Otani <sho at bbr.jp>
-// Copyright (C) 2008, 2010 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2008, 2010, 2011 Albert Astals Cid <aacid at kde.org>
 // Copyright (C) 2008 Pino Toscano <pino at kde.org>
 // Copyright (C) 2008, 2010 Hib Eris <hib at hiberis.nl>
 // Copyright (C) 2009 Ross Moore <ross at maths.mq.edu.au>
@@ -3593,7 +3593,6 @@ GooString *TextPage::getText(double xMin, double yMin,
 			   double xMax, double yMax) {
   GooString *s;
   UnicodeMap *uMap;
-  GBool isUnicode;
   TextBlock *blk;
   TextLine *line;
   TextLineFrag *frags;
@@ -3632,7 +3631,6 @@ GooString *TextPage::getText(double xMin, double yMin,
     return s;
   }
 
-  isUnicode = uMap->isUnicode();
   spaceLen = uMap->mapUnicode(0x20, space, sizeof(space));
   eolLen = 0; // make gcc happy
   switch (globalParams->getTextEOL()) {
@@ -3918,7 +3916,6 @@ GooString *TextSelectionDumper::getText (void)
   GooString *s;
   TextLineFrag *frag;
   int i, j;
-  GBool multiLine;
   UnicodeMap *uMap;
   char space[8], eol[16];
   int spaceLen, eolLen;
@@ -3939,7 +3936,6 @@ GooString *TextSelectionDumper::getText (void)
   eolLen = uMap->mapUnicode(0x0a, eol, sizeof(eol));
 
   if (nFrags > 0) {
-    multiLine = gFalse;
     for (i = 0; i < nFrags; ++i) {
       frag = &frags[i];
 


More information about the poppler mailing list