From 702496391b2b9ef53f83752b34feb3c33d7fb4e9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 6 Sep 2016 12:31:00 +0200 Subject: loplugin:constantparam in vcl..xmlscript Change-Id: Icf66c08071b154259c9e551342d30331caf2b15a Reviewed-on: https://gerrit.libreoffice.org/28685 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- vcl/source/outdev/nativecontrols.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source/outdev') diff --git a/vcl/source/outdev/nativecontrols.cxx b/vcl/source/outdev/nativecontrols.cxx index 947e5cc177f2..01bcb85f78a3 100644 --- a/vcl/source/outdev/nativecontrols.cxx +++ b/vcl/source/outdev/nativecontrols.cxx @@ -168,7 +168,7 @@ bool OutputDevice::IsNativeControlSupported( ControlType nType, ControlPart nPar return( mpGraphics->IsNativeControlSupported(nType, nPart) ); } -bool OutputDevice::HitTestNativeControl( ControlType nType, +bool OutputDevice::HitTestNativeScrollbar( ControlPart nPart, const Rectangle& rControlRegion, const Point& aPos, @@ -185,8 +185,8 @@ bool OutputDevice::HitTestNativeControl( ControlType nType, Rectangle screenRegion( rControlRegion ); screenRegion.Move( aWinOffs.X(), aWinOffs.Y()); - return( mpGraphics->HitTestNativeControl(nType, nPart, screenRegion, Point( aPos.X() + mnOutOffX, aPos.Y() + mnOutOffY ), - rIsInside, this ) ); + return mpGraphics->HitTestNativeScrollbar( nPart, screenRegion, Point( aPos.X() + mnOutOffX, aPos.Y() + mnOutOffY ), + rIsInside, this ); } static std::shared_ptr< ImplControlValue > TransformControlValue( const ImplControlValue& rVal, const OutputDevice& rDev ) -- cgit