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,<[email protected]>
Found by: Yan Ji,<[email protected]>
Review by: Jian Hong Cheng,<[email protected]>           

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)


Reply via email to