diff options
Diffstat (limited to 'svx/source/gallery2/galctrl.cxx')
-rw-r--r-- | svx/source/gallery2/galctrl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index 819f115cf3f4..bd17df54b737 100644 --- a/svx/source/gallery2/galctrl.cxx +++ b/svx/source/gallery2/galctrl.cxx @@ -122,9 +122,9 @@ void GalleryPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rect const Size aSize( aPreviewRect.GetSize() ); if( aGraphicObj.IsAnimated() ) - aGraphicObj.StartAnimation(&rRenderContext, aPos, aSize); + aGraphicObj.StartAnimation(rRenderContext, aPos, aSize); else - aGraphicObj.Draw(&rRenderContext, aPos, aSize); + aGraphicObj.Draw(rRenderContext, aPos, aSize); } } @@ -266,9 +266,9 @@ void DialogGalleryPreview::Paint(vcl::RenderContext& rRenderContext, const tools const Size aSize( aPreviewRect.GetSize() ); if( aGraphicObj.IsAnimated() ) - aGraphicObj.StartAnimation(&rRenderContext, aPos, aSize); + aGraphicObj.StartAnimation(rRenderContext, aPos, aSize); else - aGraphicObj.Draw(&rRenderContext, aPos, aSize); + aGraphicObj.Draw(rRenderContext, aPos, aSize); } } |