dbaccess/source/core/api/RowSetCache.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit c91281c9507e07330e1d7b04ca0674dd459ed2f7 Author: Julien Nabet <serval2...@yahoo.fr> Date: Thu Dec 28 18:26:13 2017 +0100 Use returned iterator (dbaccess/rowsetcache) Change-Id: If53bbc8e3cdbbf71bed0d343f1ff358b72c46d21 Reviewed-on: https://gerrit.libreoffice.org/47147 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index 923a41cc8356..cd5ad186380b 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -1441,8 +1441,7 @@ void ORowSetCache::deleteIterator(const ORowSetBase* _pRowSet) { if ( aCacheIter->second.pRowSet == _pRowSet ) { - m_aCacheIterators.erase(aCacheIter); - aCacheIter = m_aCacheIterators.begin(); + aCacheIter = m_aCacheIterators.erase(aCacheIter); } else ++aCacheIter; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits