You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ch...@apache.org on 2012/08/22 07:35:05 UTC

svn commit: r1375902 - /incubator/ooo/trunk/main/sw/source/filter/ww8/ww8atr.cxx

Author: chengjh
Date: Wed Aug 22 05:35:05 2012
New Revision: 1375902

URL: http://svn.apache.org/viewvc?rev=1375902&view=rev
Log:
Fix issue #i119650: Font size increased if saved by AOO

* sw/source/filter/ww8/ww8atr.cxx
   MS Word Binary compatibility

Patch by: Chen Peng,<ch...@gmail.com>
Found by: Yan Ji,<ya...@gmail.com>
Review by: Jian Hong Cheng,<ch...@apache.org>

Modified:
    incubator/ooo/trunk/main/sw/source/filter/ww8/ww8atr.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/ww8atr.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/ww8atr.cxx?rev=1375902&r1=1375901&r2=1375902&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/ww8atr.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/ww8atr.cxx Wed Aug 22 05:35:05 2012
@@ -980,6 +980,9 @@ void WW8AttributeOutput::EndParagraph( w
             m_rWW8Export.pPapPlc->AppendFkpEntry( m_rWW8Export.Strm().Tell(), m_rWW8Export.pO->Count(),
                     m_rWW8Export.pO->GetData() );
             m_rWW8Export.pO->Remove( 0, m_rWW8Export.pO->Count() ); // delete
+	    //For Bug 119650, should break the properties of CHP PLC after a paragraph end.
+	    m_rWW8Export.pChpPlc->AppendFkpEntry( m_rWW8Export.Strm().Tell(), m_rWW8Export.pO->Count(),
+		    m_rWW8Export.pO->GetData() );
         }
     }
 }