diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-04-28 15:09:39 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-04-29 09:27:54 +0900 |
commit | 6cea2e61cf77bfe5bc53aa6002807c9b38e77499 (patch) | |
tree | 45c3876576c58fb47461ba7730658805ddd1ca25 /svx/source | |
parent | 704ebef99de606f5a60c495130e6e3d791981042 (diff) |
fix compile: delegate RenderContext parameter to super
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 4 | ||||
-rw-r--r-- | svx/source/gallery2/galctrl.cxx | 4 | ||||
-rw-r--r-- | svx/source/sidebar/tools/PopupControl.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 10974bf3adac..f72455723b59 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -716,9 +716,9 @@ void DbGridControl::NavigationBar::Resize() ArrangeControls(); } -void DbGridControl::NavigationBar::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) +void DbGridControl::NavigationBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - Control::Paint(rRect); + Control::Paint(rRenderContext, rRect); Point aAbsolutePos = m_aAbsolute->GetPosPixel(); Size aAbsoluteSize = m_aAbsolute->GetSizePixel(); diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index eb0d9b3aa0a5..a9bc30215615 100644 --- a/svx/source/gallery2/galctrl.cxx +++ b/svx/source/gallery2/galctrl.cxx @@ -131,9 +131,9 @@ bool GalleryPreview::ImplGetGraphicCenterRect( const Graphic& rGraphic, Rectangl return bRet; } -void GalleryPreview::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) +void GalleryPreview::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - Window::Paint( rRect ); + Window::Paint(rRenderContext, rRect); if( ImplGetGraphicCenterRect( aGraphicObj.GetGraphic(), aPreviewRect ) ) { diff --git a/svx/source/sidebar/tools/PopupControl.cxx b/svx/source/sidebar/tools/PopupControl.cxx index 4cf85a9b8fd1..4fc48baee127 100644 --- a/svx/source/sidebar/tools/PopupControl.cxx +++ b/svx/source/sidebar/tools/PopupControl.cxx @@ -35,9 +35,9 @@ PopupControl::PopupControl ( SetBackground(Theme::GetWallpaper(Theme::Paint_DropDownBackground)); } -void PopupControl::Paint (vcl::RenderContext& /*rRenderContext*/, const Rectangle& rBox) +void PopupControl::Paint (vcl::RenderContext& rRenderContext, const Rectangle& rBox) { - Control::Paint(rBox); + Control::Paint(rRenderContext, rBox); // The background is taken care of by setting the background color // in the constructor. Here we just paint the border. |