summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/pfuncache.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/pfuncache.cxx b/sc/source/ui/view/pfuncache.cxx
index e7b3273ac390..9f6a92dc973d 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 ) )
{