writerfilter/source/rtftok/README              |    2 +-
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7857d772f7f82a33de506cd10e4298aa092bfe8f
Author: Miklos Vajna <vmik...@suse.cz>
Date:   Mon Jul 1 11:13:40 2013 +0200

    SmOoxmlImport: update doc on how to extract handled token list
    
    Change-Id: I7cea50e99a4ffd9eac357251ffe630921ec64795

diff --git a/writerfilter/source/rtftok/README 
b/writerfilter/source/rtftok/README
index e77c05f..4adbb75 100644
--- a/writerfilter/source/rtftok/README
+++ b/writerfilter/source/rtftok/README
@@ -6,7 +6,7 @@ At the time of writing, all control words understood by 
SmOoxmlImport are
 imported. To view the current status:
 
 ----
-grep M_TOKEN starmath/source/ooxmlimport.cxx |sed 
's/.*\(M_TOKEN(\)/\1/;s/).*/)/'|sort -u > ~/math-import-list
+grep M_TOKEN starmath/source/ooxmlimport.cxx |sed 's/.*\(M_TOKEN(\) /\1/;s/ 
).*/)/'|sort -u > ~/math-import-list
 grep '[^_]M_TOKEN' writerfilter/source/rtftok/rtfdocumentimpl.cxx |sed 
's/.*\(M_TOKEN(\)/\1/;s/).*/)/'|sort -u > ~/wf-export-list
 diff -u ~/math-import-list ~/wf-export-list |grep ^-M_TOKEN
 ----
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index f408346..31cc365 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -200,6 +200,7 @@ static void lcl_DestinationToMath(OUStringBuffer& 
rDestinationText, oox::formula
         if (rMathNor)
         {
             rMathBuffer.appendOpeningTag(M_TOKEN(rPr));
+            // Same as M_TOKEN(lit)
             rMathBuffer.appendOpeningTag(M_TOKEN(nor));
             rMathBuffer.appendClosingTag(M_TOKEN(nor));
             rMathBuffer.appendClosingTag(M_TOKEN(rPr));
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to