[Libreoffice-commits] .: chart2/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Apr 19 02:34:39 PDT 2011
chart2/source/tools/InternalDataProvider.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f8ef97efe1ee46c5e9f2c6831154cec8a816ba35
Author: Kayo Hamid <kayo.hamid at gekkolinux.com.br>
Date: Tue Apr 19 10:29:48 2011 +0100
prefer prefix ++/-- operators
diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx
index e2c269e..b4ab42e 100644
--- a/chart2/source/tools/InternalDataProvider.cxx
+++ b/chart2/source/tools/InternalDataProvider.cxx
@@ -298,7 +298,7 @@ public:
rVector.resize( m_nLevel );
vector< uno::Any >::iterator aIt( rVector.begin() );
- for( sal_Int32 nN=0; aIt<rVector.end(); aIt++, nN++)
+ for( sal_Int32 nN=0; aIt<rVector.end(); ++aIt, ++nN)
{
if( nN==m_nLevel )
break;
@@ -320,7 +320,7 @@ public:
void operator() ( vector< uno::Any >& rVector )
{
vector< uno::Any >::iterator aIt( rVector.begin() );
- for( sal_Int32 nN=0; aIt<rVector.end(); aIt++, nN++)
+ for( sal_Int32 nN=0; aIt<rVector.end(); ++aIt, ++nN)
{
if( nN==m_nLevel )
{
More information about the Libreoffice-commits
mailing list