summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 10:33:03 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 10:33:03 +0000
commit185e8a197e1f8ff9b12e2672ce8d64a5270d4f30 (patch)
treef83eac7671260915f2c28913e6216607e8867df6 /canvas
parent2d209d66542f113f991de6ae4ec5204020d0db8c (diff)
INTEGRATION: CWS sb59 (1.4.18); FILE MERGED
2006/08/11 22:05:06 thb 1.4.18.1: #i68336# Made canvas warning free for wntmsci10
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/spritehelper.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/canvas/source/vcl/spritehelper.cxx b/canvas/source/vcl/spritehelper.cxx
index 6b14ca93615b..69188a5877ff 100644
--- a/canvas/source/vcl/spritehelper.cxx
+++ b/canvas/source/vcl/spritehelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: spritehelper.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 03:31:54 $
+ * last change: $Author: obo $ $Date: 2006-10-12 11:33:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -108,6 +108,8 @@ namespace vclcanvas
bool& io_bSurfacesDirty,
bool bBufferedUpdate ) const
{
+ (void)bBufferedUpdate; // not used on every platform
+
if( !mpSpriteCanvas.get() ||
!mpBackBuffer ||
!mpBackBufferMask )
@@ -412,7 +414,7 @@ namespace vclcanvas
for( int i=0; i<aMarkerPoly.Count(); ++i )
{
- rTargetSurface.DrawPolyLine( aMarkerPoly.GetObject(i) );
+ rTargetSurface.DrawPolyLine( aMarkerPoly.GetObject((USHORT)i) );
}
}
}