diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-12-28 18:26:13 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-12-28 20:51:27 +0100 |
commit | c91281c9507e07330e1d7b04ca0674dd459ed2f7 (patch) | |
tree | b22ff3ba3e690d26242a23f3935a54544d43e884 /dbaccess | |
parent | 9c89caa036feb0977922f3452e324b97d13bb735 (diff) |
Use returned iterator (dbaccess/rowsetcache)
Change-Id: If53bbc8e3cdbbf71bed0d343f1ff358b72c46d21
Reviewed-on: https://gerrit.libreoffice.org/47147
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/RowSetCache.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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; |