Prefer prefix ++/-- operators for non-primitive types
Change-Id: Ib4c9cf4406683a2d298967dbff8e084cbd9a7b4c
This commit is contained in:
@@ -104,7 +104,7 @@ template< class Vec, class Iter, class Entry > sal_Int32 insert_range( Vec& rVec
|
|||||||
sal_Int32 nFind = nIndex;
|
sal_Int32 nFind = nIndex;
|
||||||
Iter aIter( rVector.begin() );
|
Iter aIter( rVector.begin() );
|
||||||
while( nFind-- )
|
while( nFind-- )
|
||||||
aIter++;
|
++aIter;
|
||||||
|
|
||||||
Entry aEmpty;
|
Entry aEmpty;
|
||||||
rVector.insert( aIter, nCount, aEmpty );
|
rVector.insert( aIter, nCount, aEmpty );
|
||||||
|
Reference in New Issue
Block a user