tdf#158237 connectivity: use c++20 contains() instead of find() and end()

Change-Id: I2e047407e771b75323898ecf096721b8f3600ead
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176799
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
Bogdan Buzea 2024-11-19 20:58:03 +01:00 committed by Ilmari Lauhakangas
parent eb8e6ddd6a
commit 9c0443de39

View file

@ -66,7 +66,7 @@ namespace
virtual bool exists(const OUString& _sName ) override
{
return m_aNameMap.find(_sName) != m_aNameMap.end();
return m_aNameMap.contains(_sName);
}
virtual bool empty() override