[Libreoffice-commits] .: sw/source

Lubos Lunak llunak at kemper.freedesktop.org
Tue Mar 1 10:42:19 PST 2011


 sw/source/filter/ww8/wrtw8nds.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 17e60033f28d13b7564bfcbabcc8e03d2a6a021d
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Mar 1 19:41:47 2011 +0100

    write also properties of a text node itself (part of bnc#654214)

diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index f5fe643..1cd6be0 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2326,6 +2326,11 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode )
         }
     }
 
+    // write attributes of the node itself
+    AttrOutput().StartRunProperties();
+    OutputItemSet( rNode.GetSwAttrSet(), false, true, i18n::ScriptType::LATIN, false);
+    AttrOutput().EndRunProperties( NULL );
+
     AttrOutput().EndParagraphProperties();
 
     AttrOutput().EndParagraph( pTextNodeInfoInner );


More information about the Libreoffice-commits mailing list