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:
parent
eb8e6ddd6a
commit
9c0443de39
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue