summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/cellbindinghelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/cellbindinghelper.cxx')
-rw-r--r--extensions/source/propctrlr/cellbindinghelper.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/extensions/source/propctrlr/cellbindinghelper.cxx b/extensions/source/propctrlr/cellbindinghelper.cxx
index 85b0353ca738..7942a4200563 100644
--- a/extensions/source/propctrlr/cellbindinghelper.cxx
+++ b/extensions/source/propctrlr/cellbindinghelper.cxx
@@ -381,15 +381,11 @@ namespace pcr
if ( xDocumentFactory.is() )
aAvailableServices = xDocumentFactory->getAvailableServiceNames( );
- const OUString* pFound = std::find_if(
+ bYesItIs = std::any_of(
aAvailableServices.begin(),
aAvailableServices.end(),
StringCompare( _rService )
);
- if ( pFound != aAvailableServices.end() )
- {
- bYesItIs = true;
- }
}
return bYesItIs;