summaryrefslogtreecommitdiff
path: root/canvas/source/vcl
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-03-29 10:18:45 +0000
committerOliver Bolte <obo@openoffice.org>2006-03-29 10:18:45 +0000
commit411a094fa002c0de5c6299d25bd8ea2d16282ce2 (patch)
tree60d8e89af409fc3ee4da36b3d20c0c6e207b67d5 /canvas/source/vcl
parent60ca729bde130064a697ae2a69d98ef86e7f04cf (diff)
INTEGRATION: CWS vcl54 (1.3.12); FILE MERGED
2006/02/02 11:37:39 thb 1.3.12.1: #i60699# Clarified docs; replaced flush call with sync on canvas output window, as now VCL internally does not sync anymore for blits
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r--canvas/source/vcl/spritecanvashelper.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index ae046bd25b8c..f7121206f38a 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: spritecanvashelper.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: kz $ $Date: 2006-02-28 10:40:49 $
+ * last change: $Author: obo $ $Date: 2006-03-29 11:18:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -337,11 +337,14 @@ namespace vclcanvas
aElapsedTime.getElapsedTime() );
#endif
- // commit to screen
+ // sync output with screen, to ensure that we don't queue up
+ // render requests (calling code might rely on timing,
+ // i.e. assume that things are visible on screen after
+ // updateScreen() returns).
if( rOutDev.GetOutDevType() == OUTDEV_WINDOW )
{
// TODO(Q3): Evil downcast.
- static_cast<Window&>(rOutDev).Flush();
+ static_cast<Window&>(rOutDev).Sync();
}
return sal_True;