Here is the patch for bug #837

The test file abi/test/wp/hyphen.rtf passes.

My other test file passes on this too.


Hub
Index: abi/src/wp/impexp/xp/ie_imp_RTF.cpp
===================================================================
RCS file: /u2/cvsroot/abi/src/wp/impexp/xp/ie_imp_RTF.cpp,v
retrieving revision 1.24
diff -c -r1.24 ie_imp_RTF.cpp
*** ie_imp_RTF.cpp      2000/03/28 20:22:23     1.24
--- ie_imp_RTF.cpp      2000/05/10 09:37:04
***************
*** 993,999 ****
--- 995,1004 ----
                ParseChar(UCS_NBSP);
                break;
        case '-':
+               // TODO handle optional hyphen. Currently simply ignore them.
+               break;
        case '_':
+               // currently simply make a standard hyphen
                ParseChar('-'); // TODO - make these optional and nonbreaking
                break;
        }

Reply via email to