diff options
Diffstat (limited to 'uui/source/iahndl-filter.cxx')
-rw-r--r-- | uui/source/iahndl-filter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx index 706c568aa40a..b2f0bf71be9c 100644 --- a/uui/source/iahndl-filter.cxx +++ b/uui/source/iahndl-filter.cxx @@ -214,9 +214,9 @@ handleFilterOptionsRequest_( uno::Sequence < beans::PropertyValue > aProps; if ( xFilterCFG->getByName( aFilterName ) >>= aProps ) { - auto pProp = std::find_if(aProps.begin(), aProps.end(), + auto pProp = std::find_if(std::cbegin(aProps), std::cend(aProps), [](const beans::PropertyValue& rProp) { return rProp.Name == "UIComponent"; }); - if (pProp != aProps.end()) + if (pProp != std::cend(aProps)) { OUString aServiceName; pProp->Value >>= aServiceName; |