summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mmresultdialogs.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-28 14:43:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-29 11:12:47 +0200
commit3dfc17ed6334c619228668ffeff591bc75d32025 (patch)
treeb2c985c9557151e120ddb10c4cc82bda4d7835ce /sw/source/ui/dbui/mmresultdialogs.cxx
parentf8e989c2384250d30f84651eb03673fb8d8dd096 (diff)
loplugin:constantparam (3)
Change-Id: Ifc47bb8e096c9a8563021b2fcb44199577740746 Reviewed-on: https://gerrit.libreoffice.org/59747 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/dbui/mmresultdialogs.cxx')
-rw-r--r--sw/source/ui/dbui/mmresultdialogs.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx
index c14289d70ccf..2636527176a9 100644
--- a/sw/source/ui/dbui/mmresultdialogs.cxx
+++ b/sw/source/ui/dbui/mmresultdialogs.cxx
@@ -480,7 +480,7 @@ int documentStartPageNumber(SwMailMergeConfigItem* pConfigItem, int document, bo
if (!bIgnoreEmpty)
shell.GetPageNum(page, o3tl::temporary(sal_uInt16()));
else
- page = shell.GetPageNumSeqNonEmpty(true, true);
+ page = shell.GetPageNumSeqNonEmpty();
shell.Pop(SwCursorShell::PopMode::DeleteCurrent);
return page;
}
@@ -506,7 +506,7 @@ int documentEndPageNumber(SwMailMergeConfigItem* pConfigItem, int document, bool
if (!bIgnoreEmpty)
shell.GetPageNum(page, o3tl::temporary(sal_uInt16()));
else
- page = shell.GetPageNumSeqNonEmpty(true, true);
+ page = shell.GetPageNumSeqNonEmpty();
shell.Pop(SwCursorShell::PopMode::DeleteCurrent);
return page;
}