diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-24 12:54:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-25 07:00:51 +0200 |
commit | 8f254a45d78dee53764321244aca108e2a1d344c (patch) | |
tree | 0de6c2591e041e3e75085880b84e9c80afaa5f26 /vcl/source/control/fixed.cxx | |
parent | e4f28aea21ce7e8f960cc2062f83715549be215e (diff) |
loplugin:checkunusedparams in vcl
Change-Id: I26661684e634aa15a18f78442de15c9db832f319
Reviewed-on: https://gerrit.libreoffice.org/36886
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/fixed.cxx')
-rw-r--r-- | vcl/source/control/fixed.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index fa95ee3d2404..6722fd345de6 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -693,8 +693,7 @@ FixedBitmap::FixedBitmap( vcl::Window* pParent, WinBits nStyle ) : ImplInit( pParent, nStyle ); } -void FixedBitmap::ImplDraw( OutputDevice* pDev, DrawFlags /* nDrawFlags */, - const Point& rPos, const Size& rSize ) +void FixedBitmap::ImplDraw( OutputDevice* pDev, const Point& rPos, const Size& rSize ) { Bitmap* pBitmap = &maBitmap; @@ -736,7 +735,7 @@ void FixedBitmap::ApplySettings(vcl::RenderContext& rRenderContext) void FixedBitmap::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) { - ImplDraw(&rRenderContext, DrawFlags::NONE, Point(), GetOutputSizePixel()); + ImplDraw(&rRenderContext, Point(), GetOutputSizePixel()); } void FixedBitmap::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, @@ -756,7 +755,7 @@ void FixedBitmap::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize aRect = aDecoView.DrawFrame( aRect, DrawFrameStyle::DoubleIn ); } pDev->IntersectClipRegion( aRect ); - ImplDraw( pDev, nFlags, aRect.TopLeft(), aRect.GetSize() ); + ImplDraw( pDev, aRect.TopLeft(), aRect.GetSize() ); pDev->Pop(); } |