diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-12-13 13:46:56 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-12-13 13:46:56 +0000 |
commit | 8adb08cb28e4dda64f0f5c2bcd0cf6fba574117a (patch) | |
tree | ff05bdaf843d0689f3358ad2ac16dd267f423373 /canvas/source/tools | |
parent | de67303486f5c1d747176b9f884b7d3f83b29516 (diff) |
INTEGRATION: CWS presfixes09 (1.3.8); FILE MERGED
2006/10/18 14:01:28 thb 1.3.8.2: RESYNC: (1.3-1.4); FILE MERGED
2006/05/12 21:35:07 thb 1.3.8.1: #i49357# Relaxed assertion a bit, to allow slight round-off errors for update area sizes.
Diffstat (limited to 'canvas/source/tools')
-rw-r--r-- | canvas/source/tools/spriteredrawmanager.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/canvas/source/tools/spriteredrawmanager.cxx b/canvas/source/tools/spriteredrawmanager.cxx index 19c0391b798b..ee75611dd69e 100644 --- a/canvas/source/tools/spriteredrawmanager.cxx +++ b/canvas/source/tools/spriteredrawmanager.cxx @@ -4,9 +4,9 @@ * * $RCSfile: spriteredrawmanager.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: obo $ $Date: 2006-09-17 03:27:28 $ + * last change: $Author: kz $ $Date: 2006-12-13 14:46:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -355,10 +355,12 @@ namespace canvas aTotalBounds.expand( o_rMoveEnd ); OSL_POSTCOND( rUpdateArea.maTotalBounds.equal( - ::basegfx::unotools::b2DSurroundingIntegerRangeFromB2DRange( aTotalBounds )), + ::basegfx::unotools::b2DSurroundingIntegerRangeFromB2DRange( aTotalBounds ), + 0.5 ), "SpriteRedrawManager::isAreaUpdateScroll(): sprite area and total area mismatch" ); OSL_POSTCOND( o_rMoveStart.getRange().equal( - o_rMoveEnd.getRange()), + o_rMoveEnd.getRange(), + 0.5 ), "SpriteRedrawManager::isAreaUpdateScroll(): scroll start and end area have mismatching size" ); #endif |