diff options
Diffstat (limited to 'sc/source/core/tool/dbdata.cxx')
-rw-r--r-- | sc/source/core/tool/dbdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx index 69e28ca62876..c2096b39c4d1 100644 --- a/sc/source/core/tool/dbdata.cxx +++ b/sc/source/core/tool/dbdata.cxx @@ -1329,7 +1329,7 @@ const ScDBData* ScDBCollection::AnonDBs::findByRange(const ScRange& rRange) cons void ScDBCollection::AnonDBs::deleteOnTab(SCTAB nTab) { FindByTable func(nTab); - m_DBs.erase(std::remove_if(m_DBs.begin(), m_DBs.end(), func), m_DBs.end()); + std::erase_if(m_DBs, func); } ScDBData* ScDBCollection::AnonDBs::getByRange(const ScRange& rRange) |