summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-13 14:16:51 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-13 16:23:26 +0100
commit077723111292ea615437f3bc2f1e47cf77d7ad42 (patch)
treef851f81cea82fcbf8251f8418b3f2a26f3085f64 /dbaccess
parent386a85ed50a3e4832644072950a30304ba6c58a6 (diff)
V803 decreased performance postfix increment
These are pretty silly anyway, but apparently it complains even about integer variables which make this rather a waste of time. Change-Id: I15e847d33d5decd2adcab04e4f1567d3997d28a2
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/RowSetCache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index ba588c9f569e..4a10be4f1c2d 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -1680,7 +1680,7 @@ bool ORowSetCache::reFillMatrix(sal_Int32 _nNewStartPos, sal_Int32 _nNewEndPos)
bool ORowSetCache::fill(ORowSetMatrix::iterator& _aIter, const ORowSetMatrix::const_iterator& _aEnd, sal_Int32& _nPos, bool _bCheck)
{
const sal_Int32 nColumnCount = m_xMetaData->getColumnCount();
- for(; _bCheck && _aIter != _aEnd; _aIter++, _nPos++)
+ for (; _bCheck && _aIter != _aEnd; ++_aIter, ++_nPos)
{
if ( !_aIter->is() )
*_aIter = new ORowSetValueVector(nColumnCount);