summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2011-02-19 11:19:57 +0000
committerAlbert Astals Cid <aacid@kde.org>2011-02-19 11:21:53 +0000
commitbe57bd7c81b9d5a6a908c871ec7f833e0533a8e3 (patch)
tree148dd8bd08fd8153a8102bdb5d377ff40f7bb711 /utils
parent2f64af93bbd471c26d9893b4cf1502dde9e33af3 (diff)
Do not delete textOut twice when using -bbox
Diffstat (limited to 'utils')
-rw-r--r--utils/pdftotext.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/pdftotext.cc b/utils/pdftotext.cc
index 4d5cd098..56766800 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@hotmail.com>
-// Copyright (C) 2007-2008, 2010 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2007-2008, 2010, 2011 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2009 Jan Jockusch <jan@jockusch.de>
// Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2010 Kenneth Berland <ken@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);