[poppler] poppler/poppler: ABWOutputDev.cc,1.1,1.2

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Fri Apr 6 08:27:54 PDT 2007


Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv32636/poppler

Modified Files:
	ABWOutputDev.cc 
Log Message:
2007-04-06  Jeff Muizelaar  <jeff at infidigm.net>

	* poppler/ABWOutputDev.cc:
	* utils/pdftoabw.cc: Fix a number of issues with the new AbiWord code:
		*) Allows you to save to a file other than stdout
		*) Checks for error conditions when reading the PDF doc and
		   writing the ABW doc
		*) Removes dead code in pdftoabw.cc
		*) Fixes a SEGV I encountered when converting my new home's floor plan
		*) Returns proper error conditions should the conversion fail for any reason
	Patch by Dominic Lachowicz


Index: ABWOutputDev.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/ABWOutputDev.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ABWOutputDev.cc	4 Apr 2007 02:42:29 -0000	1.1
+++ ABWOutputDev.cc	6 Apr 2007 15:27:52 -0000	1.2
@@ -652,6 +652,9 @@
 void ABWOutputDev::ATP_recursive(xmlNodePtr N_parent){
   xmlNodePtr N_first, N_second, N_line, N_tempCol, N_tempColset;
   N_first  = N_parent->children;
+  if (!N_first)
+    return;
+
   N_second = N_first->next;
   char buf[20];
 /*



More information about the poppler mailing list