diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 16:14:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 20:24:12 +0200 |
commit | dc50b7f952cf339f66fcdf1ac78d7fbeb31014d4 (patch) | |
tree | 596885ca242c8a71fc4afd4958bbbc767ffa93a0 /writerperfect/qa/unit/WpftLoader.cxx | |
parent | 7841194ed70385627b9f8f88315fb1d0b5b8147c (diff) |
loplugin:sequenceloop in writerfilter..xmlhelp
Change-Id: I7c9c911aa6b051eeab46344f25ea2919605de645
Reviewed-on: https://gerrit.libreoffice.org/77534
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect/qa/unit/WpftLoader.cxx')
-rw-r--r-- | writerperfect/qa/unit/WpftLoader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/qa/unit/WpftLoader.cxx b/writerperfect/qa/unit/WpftLoader.cxx index 4c5696c18067..f29cd89c001f 100644 --- a/writerperfect/qa/unit/WpftLoader.cxx +++ b/writerperfect/qa/unit/WpftLoader.cxx @@ -190,7 +190,7 @@ void WpftLoader::impl_detectFilterName(uno::Sequence<beans::PropertyValue>& rDes uno::Sequence<beans::PropertyValue> aTypes; if (m_xTypeMap->getByName(rTypeName) >>= aTypes) { - for (const auto& rType : aTypes) + for (const auto& rType : std::as_const(aTypes)) { OUString aFilterName; if (("PreferredFilter" == rType.Name) && (rType.Value >>= aFilterName)) |