diff options
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/vcl/spritecanvas.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/canvas/source/vcl/spritecanvas.cxx b/canvas/source/vcl/spritecanvas.cxx index ba1917e4e9bf..4b56dda4e860 100644 --- a/canvas/source/vcl/spritecanvas.cxx +++ b/canvas/source/vcl/spritecanvas.cxx @@ -2,9 +2,9 @@ * * $RCSfile: spritecanvas.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-03-30 07:38:54 $ + * last change: $Author: obo $ $Date: 2005-04-18 09:12:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -278,6 +278,8 @@ namespace vclcanvas { tools::LocalGuard aGuard; + maCanvasHelper.disposing(); + mxComponentContext.clear(); mxDevice.reset(); mpBackBuffer.reset(), @@ -450,14 +452,15 @@ namespace vclcanvas void SpriteCanvas::moveSprite( const Sprite::ImplRef& sprite, const Point& rOldPos, - const Point& rNewPos ) + const Point& rNewPos, + const Size& rSpriteSize ) { tools::LocalGuard aGuard; if( !mpRedrawManager.get() ) return; // we're disposed - mpRedrawManager->moveSprite( sprite, rOldPos, rNewPos ); + mpRedrawManager->moveSprite( sprite, rOldPos, rNewPos, rSpriteSize ); } void SpriteCanvas::updateSprite( const Sprite::ImplRef& sprite, |