Kaydet (Commit) 4c1ac91f authored tarafından Michael Stahl's avatar Michael Stahl

sw: flag check looks incorrect in SwDocUpdateField::MakeFieldList()

Change-Id: Ifebbaa6ef21ac518f62a726dadaceb97fd5e446b
üst 75ae16fc
...@@ -801,7 +801,8 @@ void SwDocUpdateField::InsDelFieldInFieldLst( bool bIns, const SwTextField& rFie ...@@ -801,7 +801,8 @@ void SwDocUpdateField::InsDelFieldInFieldLst( bool bIns, const SwTextField& rFie
void SwDocUpdateField::MakeFieldList( SwDoc& rDoc, bool bAll, int eGetMode ) void SwDocUpdateField::MakeFieldList( SwDoc& rDoc, bool bAll, int eGetMode )
{ {
if (!m_pFieldSortList || bAll || !(eGetMode & m_nFieldListGetMode) if (!m_pFieldSortList || bAll
|| ((eGetMode & m_nFieldListGetMode) != eGetMode)
|| rDoc.GetNodes().Count() != m_nNodes) || rDoc.GetNodes().Count() != m_nNodes)
{ {
MakeFieldList_( rDoc, eGetMode ); MakeFieldList_( rDoc, eGetMode );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment