diff options
author | Johannes Hauf <hauf.johannes@gmail.com> | 2015-12-31 10:58:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-07 14:13:49 +0000 |
commit | bccd83ea5434f945c22d0c45dbc2c3d13efdffee (patch) | |
tree | 22bb90c43394cf3ee281e6c97972d2e207b057b1 /connectivity | |
parent | 59ae2d11d5884ffdf77dec95d8cd2566943fd789 (diff) |
Some cleanup for sal_uIntPtr usage
Change-Id: Ia9779e6477d8848588f3543d09ea6b4477f594a2
Reviewed-on: https://gerrit.libreoffice.org/21022
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/dbase/DIndex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index f325fea7d3fe..9e8ee7c7990c 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -301,8 +301,8 @@ void ODbaseIndex::Release(bool bSave) m_aRoot.Clear(); } // Release all references, before the FileStream will be closed - for (sal_uIntPtr i = 0; i < m_aCollector.size(); i++) - m_aCollector[i]->QueryDelete(); + for (auto& i : m_aCollector) + i->QueryDelete(); m_aCollector.clear(); |