incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1375902 - /incubator/ooo/trunk/main/sw/source/filter/ww8/ww8atr.cxx
Date Wed, 22 Aug 2012 05:35:05 GMT
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,<chenpeng2006@gmail.com>
Found by: Yan Ji,<yanji.yj@gmail.com>
Review by: Jian Hong Cheng,<chengjh@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() );
         }
     }
 }



Mime
View raw message