summaryrefslogtreecommitdiff
path: root/sw/source/uibase/fldui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 13:13:59 +0200
committerNoel Grandin <noel@peralex.com>2016-03-09 10:07:45 +0200
commitc09b3e32372537be739182b02ae83a96386d1e1c (patch)
tree04e93ba798e8c36363792f2ba903b0f9c4ba21ea /sw/source/uibase/fldui
parentaf74913da2b63857a248ac8fc4fa438b7a8663ec (diff)
loplugin:constantparam in sw
Change-Id: I8fa1af4a34770b71f6f4bb28b3313edf4875322b
Diffstat (limited to 'sw/source/uibase/fldui')
-rw-r--r--sw/source/uibase/fldui/fldmgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx
index b8aed6cec604..02cf4a75015a 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -346,7 +346,7 @@ static SwFieldGroupRgn const aWebRanges[] =
}
// determine GroupId
-sal_uInt16 SwFieldMgr::GetGroup(bool bHtmlMode, sal_uInt16 nTypeId, sal_uInt16 nSubType)
+sal_uInt16 SwFieldMgr::GetGroup(sal_uInt16 nTypeId, sal_uInt16 nSubType)
{
if (nTypeId == TYP_SETINPFLD)
nTypeId = TYP_SETFLD;
@@ -362,7 +362,7 @@ sal_uInt16 SwFieldMgr::GetGroup(bool bHtmlMode, sal_uInt16 nTypeId, sal_uInt16 n
for (sal_uInt16 i = GRP_DOC; i <= GRP_VAR; i++)
{
- const SwFieldGroupRgn& rRange = GetGroupRange(bHtmlMode, i);
+ const SwFieldGroupRgn& rRange = GetGroupRange(false/*bHtmlMode*/, i);
for (sal_uInt16 nPos = rRange.nStart; nPos < rRange.nEnd; nPos++)
{
if (aSwFields[nPos].nTypeId == nTypeId)