# HG changeset patch
# User Michael Stahl <mst@openoffice.org>
# Date 1305138672 0
# Node ID 997afca22bf211611b821d99f603f1fd093c4026
# Parent  86fc8c6f32fdbf4ca1820864495d5aac9e6a755b
rtftok01: typos

diff --git a/writerfilter/source/rtftok/README b/writerfilter/source/rtftok/README
--- a/writerfilter/source/rtftok/README
+++ b/writerfilter/source/rtftok/README
@@ -21,7 +21,7 @@
 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
 
@@ -67,7 +67,7 @@
 
 * 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.
diff --git a/writerfilter/source/rtftok/RTFDocumentImpl.cxx b/writerfilter/source/rtftok/RTFDocumentImpl.cxx
--- a/writerfilter/source/rtftok/RTFDocumentImpl.cxx
+++ b/writerfilter/source/rtftok/RTFDocumentImpl.cxx
@@ -390,7 +390,6 @@
 
     typedef ::std::map<Id, RTFValue::Pointer_t > Attributes_t;
 
-    // character properties
     struct CharacterProperties
     {
     public:
@@ -406,7 +405,6 @@
         m_CharacterProperties.m_Sprms = rDefaults;
     };
 
-    // paragraph properties
     struct ParagraphProperties
     {
     public:
@@ -421,7 +419,6 @@
         m_ParagraphProperties = ParagraphProperties();
     };
 
-    // section properties
     struct SectionProperties
     {
     public:
@@ -436,7 +433,6 @@
         m_SectionProperties = SectionProperties();
     };
 
-    // table row properties
     struct TableRowProperties
     {
     public:
@@ -451,7 +447,6 @@
         m_TableRowProperties = TableRowProperties();
     };
 
-    // table cell properties
     struct TableCellProperties
     {
     public:
@@ -484,7 +479,7 @@
         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);
