tdf#158237 Use C++20 contains() instead of find() and end()
Change-Id: I0efe76b814035aad9faa86c9dfed447759a4448b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182015 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
@@ -371,7 +371,7 @@ namespace basic
|
||||
Reference< XInterface > xNormalized( _rxDocumentModel, UNO_QUERY );
|
||||
DBG_ASSERT( _rxDocumentModel.is(), "ImplRepository::impl_getLocationForModel: invalid model!" );
|
||||
|
||||
return m_aStore.find(xNormalized) != m_aStore.end();
|
||||
return m_aStore.contains(xNormalized);
|
||||
}
|
||||
|
||||
void ImplRepository::impl_initDocLibraryContainers_nothrow( const Reference<XStorageBasedLibraryContainer>& _rxBasicLibraries, const Reference<XStorageBasedLibraryContainer>& _rxDialogLibraries )
|
||||
|
Reference in New Issue
Block a user