summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edattr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 15:53:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 18:37:27 +0200
commit102a94c9de3c8c4d1326022dd14a300d6b72e222 (patch)
tree15801e979dadd1ae274ed196854925d44b33cbb6 /sw/source/core/edit/edattr.cxx
parent80d8fda9c092ea77869c7c162d0acac854a0738d (diff)
loplugin:constvars in sw
Change-Id: Ic1f11240561ba8fffc51710c9a49933c3ab3849d Reviewed-on: https://gerrit.libreoffice.org/77826 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/edit/edattr.cxx')
-rw-r--r--sw/source/core/edit/edattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index 5b61dbe0ed86..13304fb3ad03 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -432,7 +432,7 @@ bool SwEditShell::SetCurFootnote( const SwFormatFootnote& rFillFootnote )
bool bChgd = false;
StartAllAction();
- for(SwPaM& rCursor : GetCursor()->GetRingContainer())
+ for(const SwPaM& rCursor : GetCursor()->GetRingContainer())
{
bChgd |=
mxDoc->SetCurFootnote(rCursor, rFillFootnote.GetNumStr(), rFillFootnote.IsEndNote());