diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx index 5e4567a631b4..5c581d508704 100644 --- a/sfx2/source/view/classificationhelper.cxx +++ b/sfx2/source/view/classificationhelper.cxx @@ -392,7 +392,7 @@ void SfxClassificationHelper::Impl::pushToDocumentProperties() uno::Sequence aProperties = xPropertySet->getPropertySetInfo()->getProperties(); std::map aLabels = m_aCategory.m_aLabels; aLabels[PROP_BACNAME()] = m_aCategory.m_aName; - for (const std::pair& rLabel : aLabels) + for (const auto& rLabel : aLabels) { try {