diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2016-03-28 19:17:45 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2016-03-28 18:39:16 +0000 |
commit | 2b60e64c18e16391ab7e04d1ded1119b8b5428ac (patch) | |
tree | 55686f1b2e0e065f9b333fb630613bce679c6cc2 /dbaccess/source/ui/misc/RowSetDrop.cxx | |
parent | df47441ebe0eaf97c2ab7ce854323c18f4d1fe79 (diff) |
Use const_iterator when possible (whole dbaccess)
Change-Id: I3d10a7914353b384fc7a2195a70398869f675211
Reviewed-on: https://gerrit.libreoffice.org/23570
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess/source/ui/misc/RowSetDrop.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/RowSetDrop.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/RowSetDrop.cxx b/dbaccess/source/ui/misc/RowSetDrop.cxx index 63ba6749d3ed..b2aac31dc5db 100644 --- a/dbaccess/source/ui/misc/RowSetDrop.cxx +++ b/dbaccess/source/ui/misc/RowSetDrop.cxx @@ -157,8 +157,8 @@ bool ORowSetImportExport::insertNewRow() { m_xTargetResultSetUpdate->moveToInsertRow(); sal_Int32 i = 1; - ::std::vector<sal_Int32>::iterator aEnd = m_aColumnMapping.end(); - for (::std::vector<sal_Int32>::iterator aIter = m_aColumnMapping.begin(); aIter != aEnd ;++aIter,++i ) + ::std::vector<sal_Int32>::const_iterator aEnd = m_aColumnMapping.end(); + for (::std::vector<sal_Int32>::const_iterator aIter = m_aColumnMapping.begin(); aIter != aEnd ;++aIter,++i ) { if(*aIter > 0) { |