Fix a page break problem in the WordPerfect importer causing some
pagebreakes to be inserted too soon in the document (or better: the text
inserted too late)

Marc
Index: abi/src/wp/impexp/xp/ie_imp_WordPerfect.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_imp_WordPerfect.cpp,v
retrieving revision 1.15
diff -u -r1.15 ie_imp_WordPerfect.cpp
--- abi/src/wp/impexp/xp/ie_imp_WordPerfect.cpp 20 Feb 2002 14:05:28 -0000      1.15
+++ abi/src/wp/impexp/xp/ie_imp_WordPerfect.cpp 20 Feb 2002 14:14:39 -0000
@@ -699,6 +699,8 @@
           case 9: // hard EOP
           case 28: // deletable hard EOP
             { 
+              X_CheckWordPerfectError(_flushText());
+              _appendCurrentParagraphProperties();
               UT_UCSChar ucs = UCS_FF;
               X_CheckDocumentError(getDoc()->appendSpan(&ucs,1));
             }

Reply via email to