summaryrefslogtreecommitdiff
path: root/sw/source/uibase/fldui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-05 15:20:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-06 20:13:53 +0200
commit8ef6be73325dbb6761b247ff187c709ba0f81bfb (patch)
treef7f066cf9cf154061cbc2b584d977eb6fc4ad03c /sw/source/uibase/fldui
parent8f629b8fbeb13a593f6aff28d2ff0399eb4ee56a (diff)
loplugin:constparams in sw part6
Change-Id: Ic82946cf9be50d9d9c43338b86dfb700ce5b354c Reviewed-on: https://gerrit.libreoffice.org/40786 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/fldui')
-rw-r--r--sw/source/uibase/fldui/fldmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx
index 86ce46c903ce..ab5c79b6aa9d 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -879,7 +879,7 @@ bool SwFieldMgr::GoNextPrev( bool bNext, SwFieldType* pTyp )
}
// insert field types
-void SwFieldMgr::InsertFieldType(SwFieldType& rType)
+void SwFieldMgr::InsertFieldType(SwFieldType const & rType)
{
SwWrtShell* pSh = pWrtShell ? pWrtShell : ::lcl_GetShell();
OSL_ENSURE(pSh, "no SwWrtShell found");