summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2023-02-11 23:52:01 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2023-02-14 14:49:21 +0000
commit77f447190396ca9b1bd77e3cf3b99f24116049ef (patch)
tree39d0f244eec1ae03d256c3fc4dd0a9a174e5eb6c
parentResolves: tdf#149482 don't insert if the mouse is not still pressed (diff)
downloadcore-77f447190396ca9b1bd77e3cf3b99f24116049ef.tar.gz
core-77f447190396ca9b1bd77e3cf3b99f24116049ef.zip
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> (cherry picked from commit 75a863ee7fea133ae6bcd010d1aac46815fa49e2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146978
-rw-r--r--sw/source/core/fields/docufld.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index 289061a283e5..45793b4928bf 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -2227,7 +2227,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