diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-04-29 08:51:37 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-04-29 09:27:55 +0900 |
commit | cdb1fa88c8c960cfcc817a14e64c54ef6babeb59 (patch) | |
tree | 7237e9dbe1cca10f052cc11645770eeebd5501c4 /vcl/source/control/imgctrl.cxx | |
parent | d0ab8e0cb961c43f7975b496c191ac88859139ed (diff) |
delegate RenderContext - fixed, group, imgctrl
Change-Id: I438eaaa7959465d264ab248234a99c9e37bc56d9
Diffstat (limited to 'vcl/source/control/imgctrl.cxx')
-rw-r--r-- | vcl/source/control/imgctrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/imgctrl.cxx b/vcl/source/control/imgctrl.cxx index 288cb04b835e..baaaa20e9d84 100644 --- a/vcl/source/control/imgctrl.cxx +++ b/vcl/source/control/imgctrl.cxx @@ -131,9 +131,9 @@ void ImageControl::ImplDraw( OutputDevice& rDev, sal_uLong nDrawFlags, const Poi } // switch ( mnScaleMode ) } -void ImageControl::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& /*rRect*/ ) +void ImageControl::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /*rRect*/) { - ImplDraw( *this, 0, Point(), GetOutputSizePixel() ); + ImplDraw(rRenderContext, 0, Point(), GetOutputSizePixel()); if( HasFocus() ) { |