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/29 07:27:52 UTC
svn commit: r1378443 -
/incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx
Author: chengjh
Date: Wed Aug 29 05:27:52 2012
New Revision: 1378443
URL: http://svn.apache.org/viewvc?rev=1378443&view=rev
Log:
Fix issue #i120654: Number range variable filed shows in AOO
* sw/source/filter/ww8/ww8par5.cxx
MS Word Binary compatibility
Patch by: Jane Kang,<ka...@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/ww8par5.cxx
Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx?rev=1378443&r1=1378442&r2=1378443&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/ww8par5.cxx Wed Aug 29 05:27:52 2012
@@ -1494,6 +1494,12 @@ eF_ResT SwWW8ImplReader::Read_F_Seq( WW8
SwSetExpFieldType( &rDoc, aSequenceName, nsSwGetSetExpType::GSE_SEQ ) );
SwSetExpField aFld( pFT, aEmptyStr, eNumFormat );
+ //Bug 120654: Add for /h flag(/h: Hiden the field result.)
+ if (bHidden)
+ aFld.SetSubType(aFld.GetSubType() | nsSwExtendedSubType::SUB_INVISIBLE);
+ //Bug 120654(End)
+
+
if (sStart.Len())
aFld.SetFormula( ( aSequenceName += '=' ) += sStart );
else if (!bCountOn)