[Libreoffice-commits] .: sw/source

Lubos Lunak llunak at kemper.freedesktop.org
Fri Feb 25 08:10:37 PST 2011


 sw/source/filter/ww8/docxattributeoutput.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d8d94df46690d162750c9c626daf09b4a82dc0ff
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Fri Feb 25 17:06:46 2011 +0100

    do not begin w:fldChar twice (bnc#499106, fdo#34293)

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 1b2db26..a80d257 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -547,7 +547,7 @@ void DocxAttributeOutput::EndRun()
     for ( std::vector<FieldInfos>::iterator pIt = m_Fields.begin(); pIt != m_Fields.end(); ++pIt )
     {
         // Add the fields starts for hyperlinks, TOCs and index marks
-        if ( pIt->bOpen )
+        if ( pIt->bOpen && !pIt->pField )
         {
             StartField_Impl( *pIt, sal_True );
 


More information about the Libreoffice-commits mailing list