From: Robert Wilhelm (robert@gaston.camelot.de)
Date: Wed Mar 27 2002 - 15:21:13 EST
Quite a few word documents from bug 2633 crash in list code.
Following patch works around the problem.
Maybe we should print a debugmsg if apap->ilfo > 0 and ps->lfo is NULL,
so someone will fix wv lisr code later?
Index: ie_imp_MsWord_97.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_imp_MsWord_97.cpp,v
retrieving revision 1.152
diff -u -r1.152 ie_imp_MsWord_97.cpp
--- ie_imp_MsWord_97.cpp 6 Mar 2002 15:56:59 -0000 1.152
+++ ie_imp_MsWord_97.cpp 27 Mar 2002 20:26:00 -0000
@@ -1555,7 +1555,7 @@
and add a given paragraph to a given list
*/
- if ( apap->ilfo )
+ if ( apap->ilfo && ps->lfo )
{
// all lists have ilfo set
UT_DEBUGMSG(("list: ilvl %d, ilfo %d\n",apap->ilvl,apap->ilfo)); //ilvl is the list level
This archive was generated by hypermail 2.1.4 : Wed Mar 27 2002 - 15:29:48 EST