[Libreoffice-commits] .: 3 commits - chart2/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Jan 6 07:18:48 PST 2011
chart2/source/tools/InternalDataProvider.cxx | 4 ++--
chart2/source/tools/NameContainer.cxx | 2 +-
chart2/source/tools/WrappedPropertySet.cxx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 40578d36859b9226ec1abdb523344167da155cc3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 6 14:15:32 2011 +0000
cppunit: prefer prefix variant
diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx
index 4116504..9ebcac3 100644
--- a/chart2/source/tools/WrappedPropertySet.cxx
+++ b/chart2/source/tools/WrappedPropertySet.cxx
@@ -74,7 +74,7 @@ void WrappedPropertySet::clearWrappedPropertySet()
if(m_pWrappedPropertyMap)
{
for( tWrappedPropertyMap::iterator aIt = m_pWrappedPropertyMap->begin()
- ; aIt!= m_pWrappedPropertyMap->end(); aIt++ )
+ ; aIt!= m_pWrappedPropertyMap->end(); ++aIt )
{
const WrappedProperty* pWrappedProperty = (*aIt).second;
DELETEZ(pWrappedProperty);
commit 7ad302c80f4dc0d18d68ee529d31eed280f9afec
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 6 14:02:34 2011 +0000
cppunit: prefer prefix variant
diff --git a/chart2/source/tools/NameContainer.cxx b/chart2/source/tools/NameContainer.cxx
index 5b8b16f..c20682d 100644
--- a/chart2/source/tools/NameContainer.cxx
+++ b/chart2/source/tools/NameContainer.cxx
@@ -154,7 +154,7 @@ Sequence< OUString > SAL_CALL NameContainer::getElementNames()
sal_Int32 nCount = m_aMap.size();
Sequence< OUString > aSeq(nCount);
sal_Int32 nN = 0;
- for( tContentMap::iterator aIter = m_aMap.begin(); aIter != m_aMap.end(), nN < nCount; aIter++, nN++ )
+ for( tContentMap::iterator aIter = m_aMap.begin(); aIter != m_aMap.end(), nN < nCount; ++aIter, ++nN )
aSeq[nN]=aIter->first;
return aSeq;
}
commit ed600c3977677974d39cde87083713a8a005f7c9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 6 13:55:06 2011 +0000
cppunit: prefer prefix variant
diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx
index d70c9d1..08cd6c9 100644
--- a/chart2/source/tools/InternalDataProvider.cxx
+++ b/chart2/source/tools/InternalDataProvider.cxx
@@ -260,7 +260,7 @@ public:
rVector.resize( m_nLevel );
vector< OUString >::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;
@@ -282,7 +282,7 @@ public:
void operator() ( vector< OUString >& rVector )
{
vector< OUString >::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