sw/source/core/fields/docufld.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 24c05688ad0db805196765a409c49f9ac6f2b6e7 Author: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> AuthorDate: Sat Feb 11 23:52:01 2023 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Feb 14 13:21:55 2023 +0000 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.st...@allotropia.de> (cherry picked from commit 75a863ee7fea133ae6bcd010d1aac46815fa49e2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146977 Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx index 2015216f2a91..dffc35132fca 100644 --- a/sw/source/core/fields/docufld.cxx +++ b/sw/source/core/fields/docufld.cxx @@ -2224,7 +2224,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