summaryrefslogtreecommitdiff
path: root/sw/source/ui/index/swuiidxmrk.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 14:39:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:23:38 +0200
commit3c6cb83b80b502975dce89c02401a064872b5ea3 (patch)
tree77ca629355406668a34332470c475feffe40e2ec /sw/source/ui/index/swuiidxmrk.cxx
parent7b4f643f4feb28fdc92b3da7a95d0f1c7286d01a (diff)
loplugin:sequenceloop in sw
Change-Id: Icda7c89b396e5607ca847c0a8393cb27a2d50c6c Reviewed-on: https://gerrit.libreoffice.org/77530 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/index/swuiidxmrk.cxx')
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index b1a0885e1eee..0d2c9f5a0bbb 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -1307,7 +1307,7 @@ IMPL_LINK_NOARG(SwAuthorMarkPane, ChangeSourceHdl, weld::ToggleButton&, void)
uno::Sequence<beans::PropertyValue> aSeq;
if( aNames >>= aSeq)
{
- for(const beans::PropertyValue& rProp : aSeq)
+ for(const beans::PropertyValue& rProp : std::as_const(aSeq))
{
sal_Int16 nField = 0;
rProp.Value >>= nField;
@@ -1320,7 +1320,7 @@ IMPL_LINK_NOARG(SwAuthorMarkPane, ChangeSourceHdl, weld::ToggleButton&, void)
}
if(xBibAccess.is())
{
- uno::Sequence<OUString> aIdentifiers = xBibAccess->getElementNames();
+ const uno::Sequence<OUString> aIdentifiers = xBibAccess->getElementNames();
for(const OUString& rName : aIdentifiers)
m_xEntryLB->append_text(rName);
}