PATCH: wp page break fix

From: j.m.maurer (j.m.maurer@student.utwente.nl)
Date: Wed Feb 20 2002 - 19:12:22 GMT

  • Next message: Dom Lachowicz: "Commit: Re: PATCH: wp page break fix"

    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));
                  }



    This archive was generated by hypermail 2.1.4 : Wed Feb 20 2002 - 14:17:31 GMT