Commits

Anonymous committed 997afca

rtftok01: typos

  • Participants
  • Parent commits 86fc8c6

Comments (0)

Files changed (2)

File writerfilter/source/rtftok/README

 This class implements the RTFScannerHandler interface, and handles string
 buffering and the RTF destination/group stacks.
 The incoming events are either handled here, or passed on to the top of
-the group or destination stack.
+the destination stack.
 
 3. RTFDestination and RTFGroup
 
 
 * an XML file containing all RTF controls is generated via rtftoken.xsl.
 
-* a list of int tokens for RTF controls is generated via rtftokenheader.xsl
+* a list of int tokens for RTF controls is generated via rtftokenheader.xsl.
 
 * for efficient mapping of RTF controls to int tokens, a hash function
   is generated using gperf, via rtfgperf.xsl.

File writerfilter/source/rtftok/RTFDocumentImpl.cxx

 
     typedef ::std::map<Id, RTFValue::Pointer_t > Attributes_t;
 
-    // character properties
     struct CharacterProperties
     {
     public:
         m_CharacterProperties.m_Sprms = rDefaults;
     };
 
-    // paragraph properties
     struct ParagraphProperties
     {
     public:
         m_ParagraphProperties = ParagraphProperties();
     };
 
-    // section properties
     struct SectionProperties
     {
     public:
         m_SectionProperties = SectionProperties();
     };
 
-    // table row properties
     struct TableRowProperties
     {
     public:
         m_TableRowProperties = TableRowProperties();
     };
 
-    // table cell properties
     struct TableCellProperties
     {
     public:
         return c - '0';
     }
     char const l( tolower(c) );
-    if (('a' <= l) && (l <= 'z')) {
+    if (('a' <= l) && (l <= 'f')) {
         return 10 + (l - 'a');
     }
     OSL_ASSERT(false);