[Libreoffice-commits] .: 3 commits - sd/source slideshow/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Dec 24 06:27:46 PST 2010
sd/source/core/stlpool.cxx | 4 ++--
sd/source/filter/eppt/epptso.cxx | 4 ++--
slideshow/source/engine/shapes/shapeimporter.cxx | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 497e9c8c4ac2be44c0a0fe5298b580944a1fc200
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 24 13:36:17 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index bd8c4d2..0297952 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -3752,7 +3752,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
{
ImplCreateCellBorder( &*aCellBorderIter, aCellBorderIter->mnPos, nYPos,
static_cast< sal_Int32 >( aCellBorderIter->mnPos + aCellBorderIter->mnLength ), nYPos );
- aCellBorderIter++;
+ ++aCellBorderIter;
}
if ( nLine < xRows->getCount() )
{
@@ -3804,7 +3804,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
{
ImplCreateCellBorder( &*aCellBorderIter, nXPos, aCellBorderIter->mnPos,
nXPos, static_cast< sal_Int32 >( aCellBorderIter->mnPos + aCellBorderIter->mnLength ) );
- aCellBorderIter++;
+ ++aCellBorderIter;
}
if ( nLine < xColumns->getCount() )
{
commit da47398bce9fbfbca4ff45e58b276cfdd5feef46
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 24 13:34:58 2010 +0000
cppcheck: prefer prefix variant
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx
index 2ca83cc..847c349 100644
--- a/slideshow/source/engine/shapes/shapeimporter.cxx
+++ b/slideshow/source/engine/shapes/shapeimporter.cxx
@@ -541,7 +541,7 @@ void ShapeImporter::importPolygons(uno::Reference<beans::XPropertySet> const& xP
pPolyPoly->draw();
maPolygons.push_back(pPolyPoly);
}
- aIter++;
+ ++aIter;
}
}
commit 1c9ef732e5798a72e1cd7059f40b98af24254092
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 24 13:28:18 2010 +0000
cppcheck: prefer prefix variant
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx
index 8881783..a92d7dc 100644
--- a/sd/source/core/stlpool.cxx
+++ b/sd/source/core/stlpool.cxx
@@ -630,7 +630,7 @@ void SdStyleSheetPool::CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily
// set parents on newly added stylesheets
std::vector< std::pair< rtl::Reference< SfxStyleSheetBase >, String > >::iterator aIter;
- for( aIter = aNewStyles.begin(); aIter != aNewStyles.end(); aIter++ )
+ for( aIter = aNewStyles.begin(); aIter != aNewStyles.end(); ++aIter )
{
DBG_ASSERT( rSourcePool.Find( (*aIter).second, eFamily ), "StyleSheet has invalid parent: Family mismatch" );
(*aIter).first->SetParent( (*aIter).second );
@@ -1349,7 +1349,7 @@ void SAL_CALL SdStyleSheetPool::dispose() throw (RuntimeException)
SdStyleFamilyMap aTempMap;
aTempMap.swap( maStyleFamilyMap );
- for( SdStyleFamilyMap::iterator iter( aTempMap.begin() ); iter != aTempMap.end(); iter++ ) try
+ for( SdStyleFamilyMap::iterator iter( aTempMap.begin() ); iter != aTempMap.end(); ++iter ) try
{
(*iter).second->dispose();
}
More information about the Libreoffice-commits
mailing list