summaryrefslogtreecommitdiff
path: root/canvas/source/tools/spriteredrawmanager.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-03-22 10:01:20 +0000
committerOliver Bolte <obo@openoffice.org>2006-03-22 10:01:20 +0000
commit59dfecfa2d2ca33bd159b0d953132a0f73847d32 (patch)
tree1de720d7122d9bc4ca1b1ae504c904c54bbbaddc /canvas/source/tools/spriteredrawmanager.cxx
parenta7a09d627f34cfdd52bbd901662a07b4600d331b (diff)
INTEGRATION: CWS cairofixes01 (1.2.30); FILE MERGED
2006/03/02 17:50:01 radekdoulik 1.2.30.1: Issue number: 62722 Submitted by: radekdoulik Reviewed by: radekdoulik 2006-02-08 Radek Doulik <rodo@novell.com> * patches/cairo/cairo-canvas-redrawmanager-copy-updatearea.diff: avoid invalid reads when merging update areas. select2nd was making temporary copy, from which we took a reference and used it after the copy was destroyed
Diffstat (limited to 'canvas/source/tools/spriteredrawmanager.cxx')
-rw-r--r--canvas/source/tools/spriteredrawmanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/tools/spriteredrawmanager.cxx b/canvas/source/tools/spriteredrawmanager.cxx
index eb09ad654216..f78c1507ce92 100644
--- a/canvas/source/tools/spriteredrawmanager.cxx
+++ b/canvas/source/tools/spriteredrawmanager.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: spriteredrawmanager.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2005-11-02 12:55:15 $
+ * last change: $Author: obo $ $Date: 2006-03-22 11:01:20 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -399,7 +399,7 @@ namespace canvas
// now, calc the _true_ update area, by merging all sprite's
// true update areas into one rectangle
::basegfx::B2DRange aTrueArea( aBegin->second.getUpdateArea() );
- ::std::for_each( ++rUpdateArea.maComponentList.begin(),
+ ::std::for_each( aBegin,
aEnd,
::boost::bind( ::basegfx::B2DRangeExpander(aTrueArea),
::boost::bind( &SpriteInfo::getUpdateArea,