summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-09 08:37:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-11 07:13:11 +0100
commitf011a01d4b1fc6fd9cdd4178dd2651a51cd897dc (patch)
tree3374e999e464f54c7bde5f2530067ae86cf0f4a0 /vcl
parent87b44efa2a21279d22a3350b3a3d497284621d52 (diff)
loplugin:constantparam
Change-Id: Ibe167c208844b4cdd10df80ae804b1e5bfa6aa13 Reviewed-on: https://gerrit.libreoffice.org/68998 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/bitmapex.cxx5
-rw-r--r--vcl/source/outdev/bitmap.cxx3
2 files changed, 3 insertions, 5 deletions
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index b3068db0c8bc..519a7a385371 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -898,8 +898,7 @@ BitmapEx BitmapEx::TransformBitmapEx(
BitmapEx BitmapEx::getTransformed(
const basegfx::B2DHomMatrix& rTransformation,
const basegfx::B2DRange& rVisibleRange,
- double fMaximumArea,
- bool bSmooth) const
+ double fMaximumArea) const
{
BitmapEx aRetval;
@@ -972,7 +971,7 @@ BitmapEx BitmapEx::getTransformed(
aTransform.invert();
// create bitmap using source, destination and linear back-transformation
- aRetval = TransformBitmapEx(fWidth, fHeight, aTransform, bSmooth);
+ aRetval = TransformBitmapEx(fWidth, fHeight, aTransform, /*bSmooth*/true);
return aRetval;
}
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index aad555dd5e02..d4b99ea5da0f 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -1276,8 +1276,7 @@ void OutputDevice::DrawTransformedBitmapEx(
aTransformed = aTransformed.getTransformed(
aFullTransform,
aVisibleRange,
- fMaximumArea,
- /*bDoSmoothAtAll*/true);
+ fMaximumArea);
basegfx::B2DRange aTargetRange(0.0, 0.0, 1.0, 1.0);
// get logic object target range