Update of /cvsroot/libwpg/libwpg/src/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12536/src/lib
Modified Files:
WPG2Parser.cpp
Log Message:
build in a crash so that we get a document that contains polyspline
Index: WPG2Parser.cpp
===================================================================
RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- WPG2Parser.cpp 22 Jul 2008 06:39:27 -0000 1.72
+++ WPG2Parser.cpp 22 Jul 2008 12:51:03 -0000 1.73
@@ -1186,6 +1186,10 @@
void WPG2Parser::handlePolyspline()
{
+ fprintf(stderr, "This is actually not an error, just a crash so that we know \
+ that there is an actual document containing the Polyspline record\n");
+ // crash here !!!
+ *((int *)NULL) = 0;
if (!m_graphicsStarted)
return;
// We have never seen a polyspline in a WPG file and we are not even able to generate
|