[poppler] Branch 'poppler-0.16' - utils/pdftotext.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Feb 19 03:19:19 PST 2011
utils/pdftotext.cc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit be57bd7c81b9d5a6a908c871ec7f833e0533a8e3
Author: Albert Astals Cid <aacid at kde.org>
Date: Sat Feb 19 11:19:57 2011 +0000
Do not delete textOut twice when using -bbox
diff --git a/utils/pdftotext.cc b/utils/pdftotext.cc
index 4d5cd09..5676680 100644
--- a/utils/pdftotext.cc
+++ b/utils/pdftotext.cc
@@ -16,7 +16,7 @@
// under GPL version 2 or later
//
// Copyright (C) 2006 Dominic Lachowicz <cinamod at hotmail.com>
-// Copyright (C) 2007-2008, 2010 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2007-2008, 2010, 2011 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2009 Jan Jockusch <jan at jockusch.de>
// Copyright (C) 2010 Hib Eris <hib at hiberis.nl>
// Copyright (C) 2010 Kenneth Berland <ken at hero.com>
@@ -362,7 +362,6 @@ int main(int argc, char *argv[]) {
fprintf(f, "</doc>\n");
}
fclose(f);
- delete textOut;
} else {
textOut = new TextOutputDev(textFileName->getCString(),
physLayout, rawOrder, htmlMeta);
More information about the poppler
mailing list