sc/source/ui/view/pfuncache.cxx | 4 ++-- svx/source/sdr/properties/defaultproperties.cxx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit da3150eeff531811dbb44f7a3cbb0288885855d2 Author: Julien Nabet <[email protected]> Date: Fri Mar 29 08:31:39 2013 +0100 Prefer prefix ++/-- operators for non-primitive types Change-Id: Id2b6118727d00a0dd5249b3f3a14efd18150fffa diff --git a/sc/source/ui/view/pfuncache.cxx b/sc/source/ui/view/pfuncache.cxx index e7b3273..9f6a92dc 100644 --- a/sc/source/ui/view/pfuncache.cxx +++ b/sc/source/ui/view/pfuncache.cxx @@ -133,8 +133,8 @@ void ScPrintFuncCache::InitLocations( const ScMarkData& rMark, OutputDevice* pDe bool ScPrintFuncCache::FindLocation( const ScAddress& rCell, ScPrintPageLocation& rLocation ) const { - for ( std::vector<ScPrintPageLocation>::const_iterator aIter(aLocations.begin()); - aIter != aLocations.end(); aIter++ ) + for ( std::vector<ScPrintPageLocation>::const_iterator aIter(aLocations.begin()), aEnd(aLocations.end()); + aIter != aEnd; ++aIter ) { if ( aIter->aCellRange.In( rCell ) ) { commit b2f7633977da7a0093c26a2d7fbc0d2d93c54226 Author: Julien Nabet <[email protected]> Date: Fri Mar 29 08:31:02 2013 +0100 Oups ++aIter had to be removed here Change-Id: I9ac0b5e0f74f7f211d074095fe82e93595d2f55a diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx index cb11d13..ff05b6a 100644 --- a/svx/source/sdr/properties/defaultproperties.cxx +++ b/svx/source/sdr/properties/defaultproperties.cxx @@ -171,7 +171,6 @@ namespace sdr for (std::vector< sal_uInt16 >::const_iterator aIter(aPostItemChangeList.begin()), aEnd(aPostItemChangeList.end()); aIter != aEnd; ++aIter) { PostItemChange(*aIter); - ++aIter; } ItemSetChanged(aSet); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
