diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx index 808d4128138c..3b51edccd73f 100644 --- a/dbaccess/source/core/dataaccess/connection.cxx +++ b/dbaccess/source/core/dataaccess/connection.cxx @@ -737,7 +737,7 @@ void OConnection::impl_checkTableQueryNames_nothrow() for ( auto const & queryName : aQueryNames ) { - if ( aSortedTableNames.find( queryName ) != aSortedTableNames.end() ) + if ( aSortedTableNames.contains(queryName) ) { OUString sConflictWarning( DBA_RES( RID_STR_CONFLICTING_NAMES ) ); m_aWarnings.appendWarning( sConflictWarning, "01SB0", *this );