diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-12 13:36:49 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-15 15:10:07 +0100 |
commit | 4c1ac91f28b6f76faf4beeca8b1bef7833bb6481 (patch) | |
tree | 4282cc196b96159c4a3a037bb8d966893cf7fe57 /sw/source | |
parent | 75ae16fc2b9c5bca79b4e5b178d9952a15c4e3bf (diff) |
sw: flag check looks incorrect in SwDocUpdateField::MakeFieldList()
Change-Id: Ifebbaa6ef21ac518f62a726dadaceb97fd5e446b
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/doc/docfld.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx index 4a7a80d23129..42d47a4cc0e6 100644 --- a/sw/source/core/doc/docfld.cxx +++ b/sw/source/core/doc/docfld.cxx @@ -801,7 +801,8 @@ void SwDocUpdateField::InsDelFieldInFieldLst( bool bIns, const SwTextField& rFie 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) { MakeFieldList_( rDoc, eGetMode ); |