summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/spritecanvashelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/spritecanvashelper.cxx')
-rw-r--r--canvas/source/vcl/spritecanvashelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index 2365023f52a8..98f40a5087a7 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -263,7 +263,7 @@ namespace vclcanvas
// repaint all active sprites on top of background into
// VDev.
- OutputDevice& rTmpOutDev( *maVDev.get() );
+ OutputDevice& rTmpOutDev( *maVDev );
mpRedrawManager->forEachSprite(
[&rTmpOutDev]( const ::canvas::Sprite::Reference& rSprite )
{ spriteRedraw( rTmpOutDev, rSprite ); }
@@ -534,7 +534,7 @@ namespace vclcanvas
rSpriteScreenPos - vcl::unotools::b2DPointFromPoint(aOutputPosition)
);
- pSprite->redraw( *maVDev.get(), rSpriteRenderPos, true );
+ pSprite->redraw( *maVDev, rSpriteRenderPos, true );
}
}