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 /vcl/workben | |
parent | 704ebef99de606f5a60c495130e6e3d791981042 (diff) |
fix compile: delegate RenderContext parameter to super
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/icontest.cxx | 4 | ||||
-rw-r--r-- | vcl/workben/mtfdemo.cxx | 6 | ||||
-rw-r--r-- | vcl/workben/svdem.cxx | 4 | ||||
-rw-r--r-- | vcl/workben/svpclient.cxx | 4 | ||||
-rw-r--r-- | vcl/workben/svptest.cxx | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx index 326f1f586b91..6cbe37113914 100644 --- a/vcl/workben/icontest.cxx +++ b/vcl/workben/icontest.cxx @@ -103,7 +103,7 @@ void MyWorkWindow::LoadGraphic( const OUString& sImageFile ) } } -void MyWorkWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) +void MyWorkWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { std::cout << "==> Paint! " << mnPaintCount++ << " (vcl) " << GetSizePixel() << " " << getTimeNow() - mnStartTime << std::endl; @@ -124,7 +124,7 @@ void MyWorkWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangl mpFixedBitmap->SetBitmap( *mpBitmap ); mpFixedBitmap->SetSizePixel( aSize ); - WorkWindow::Paint( rRect ); + WorkWindow::Paint(rRenderContext, rRect); if (mnPaintCount == 100) Application::Quit(); diff --git a/vcl/workben/mtfdemo.cxx b/vcl/workben/mtfdemo.cxx index ad88f1e65e5c..22629be87e4c 100644 --- a/vcl/workben/mtfdemo.cxx +++ b/vcl/workben/mtfdemo.cxx @@ -55,14 +55,14 @@ public: } } - virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) SAL_OVERRIDE; + virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) SAL_OVERRIDE; }; -void DemoMtfWin::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) +void DemoMtfWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { maMtf.Play(this, maMtf.GetActionSize()); - WorkWindow::Paint( rRect ); + WorkWindow::Paint(rRenderContext, rRect); } class DemoMtfApp : public Application diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx index d509643b4f3d..365ad38048e4 100644 --- a/vcl/workben/svdem.cxx +++ b/vcl/workben/svdem.cxx @@ -118,9 +118,9 @@ void MyWin::KeyUp( const KeyEvent& rKEvt ) WorkWindow::KeyUp( rKEvt ); } -void MyWin::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) +void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - WorkWindow::Paint( rRect ); + WorkWindow::Paint(rRenderContext, rRect); } void MyWin::Resize() diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index b82c89bc23b0..50f388f5d2d8 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -301,9 +301,9 @@ void MyWin::KeyUp( const KeyEvent& rKEvt ) WorkWindow::KeyUp( rKEvt ); } -void MyWin::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) +void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - WorkWindow::Paint( rRect ); + WorkWindow::Paint(rRenderContext, rRect); } void MyWin::Resize() diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx index 4ee02591027b..f220f3280ac7 100644 --- a/vcl/workben/svptest.cxx +++ b/vcl/workben/svptest.cxx @@ -220,9 +220,9 @@ static Color approachColor( const Color& rFrom, const Color& rTo ) } #define DELTA 5.0 -void MyWin::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) +void MyWin::Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) { - WorkWindow::Paint( rRect ); + WorkWindow::Paint(rRenderContext, rRect); Push( PushFlags::ALL ); MapMode aMapMode( MAP_100TH_MM ); |