summaryrefslogtreecommitdiff
path: root/writerperfect/qa/unit/WpftLoader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/qa/unit/WpftLoader.cxx')
-rw-r--r--writerperfect/qa/unit/WpftLoader.cxx2
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))