| commit | 75a863ee7fea133ae6bcd010d1aac46815fa49e2 | [log] |
|---|---|---|
| author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | Sat Feb 11 23:52:01 2023 +0100 |
| committer | Michael Stahl <michael.stahl@allotropia.de> | Tue Feb 14 10:12:00 2023 +0000 |
| tree | b750ee6955074680bb49506ce1d5707eb214d373 | |
| parent | 085466ae72ec5da60a850a7c8cc97fea10992996 [diff] |
tdf#134283: MakeSetList should iterate Setters, not Getters Change-Id: I811a3b562ead942c98705da29774b77c593eabc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146828 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx index 09ffdc4..28d239d 100644 --- a/sw/source/core/fields/docufld.cxx +++ b/sw/source/core/fields/docufld.cxx
@@ -2271,7 +2271,7 @@ bool SwRefPageGetFieldType::MakeSetList(SetGetExpFields& rTmpLst, { IDocumentRedlineAccess const& rIDRA(m_rDoc.getIDocumentRedlineAccess()); std::vector<SwFormatField*> vFields; GatherFields(vFields); m_rDoc.getIDocumentFieldsAccess().GetSysFieldType(SwFieldIds::RefPageSet)->GatherFields(vFields); for(auto pFormatField: vFields) { // update only the GetRef fields