[poppler] poppler/TextOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Mar 27 07:38:50 PDT 2010
poppler/TextOutputDev.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 2aedeedf9ef2e2d3eb17bc36d728e68c2f7af762
Author: Hib Eris <hib at hiberis.nl>
Date: Sat Mar 27 14:38:27 2010 +0000
Correctly initialize actualText
diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc
index 3b16622..5b6f39b 100644
--- a/poppler/TextOutputDev.cc
+++ b/poppler/TextOutputDev.cc
@@ -19,7 +19,7 @@
// Copyright (C) 2008 Koji Otani <sho at bbr.jp>
// Copyright (C) 2008, 2010 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2008 Pino Toscano <pino at kde.org>
-// Copyright (C) 2008 Hib Eris <hib at hiberis.nl>
+// Copyright (C) 2008, 2010 Hib Eris <hib at hiberis.nl>
// Copyright (C) 2009 Ross Moore <ross at maths.mq.edu.au>
// Copyright (C) 2009 Kovid Goyal <kovid at kovidgoyal.net>
//
@@ -4641,6 +4641,7 @@ TextOutputDev::TextOutputDev(char *fileName, GBool physLayoutA,
} else {
error(-1, "Couldn't open text file '%s'", fileName);
ok = gFalse;
+ actualText = NULL;
return;
}
outputFunc = &TextOutputDev_outputToFile;
More information about the poppler
mailing list