summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap3.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2018-03-12 21:36:35 +1100
committerTomaž Vajngerl <quikee@gmail.com>2018-03-13 05:29:00 +0100
commitf2da65d7e9ea3b96a946686153dc12d3d6c88be2 (patch)
tree8a9897d65952032b9d539745f9672e0376cbe0e8 /vcl/source/gdi/bitmap3.cxx
parente22e4f75e4af2cb2fc041eef6f0178a4941285da (diff)
vcl: rename BitmapFilter::filter() to execute(), rename existing classes
Change-Id: I0c7b840de6bb4c7570bd6a55ccf3b427f98cc524 Reviewed-on: https://gerrit.libreoffice.org/51142 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/source/gdi/bitmap3.cxx')
-rw-r--r--vcl/source/gdi/bitmap3.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 9c9b528bfe90..3ca45b578cf1 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -776,28 +776,28 @@ bool Bitmap::Scale( const double& rScaleX, const double& rScaleY, BmpScaleFlag n
}
else
{
- BitmapScaleSuper aScaleSuper(rScaleX, rScaleY);
- bRetval = aScaleSuper.filter(*this);
+ BitmapScaleSuperFilter aScaleSuperFilter(rScaleX, rScaleY);
+ bRetval = aScaleSuperFilter.execute(*this);
}
break;
}
case BmpScaleFlag::Lanczos :
case BmpScaleFlag::BestQuality:
{
- vcl::BitmapScaleConvolution aScaleConvolution(rScaleX, rScaleY, vcl::ConvolutionKernelType::Lanczos3);
- bRetval = aScaleConvolution.filter(*this);
+ vcl::BitmapScaleConvolutionFilter aScaleConvolutionFilter(rScaleX, rScaleY, vcl::ConvolutionKernelType::Lanczos3);
+ bRetval = aScaleConvolutionFilter.execute(*this);
break;
}
case BmpScaleFlag::BiCubic :
{
- vcl::BitmapScaleConvolution aScaleConvolution(rScaleX, rScaleY, vcl::ConvolutionKernelType::BiCubic);
- bRetval = aScaleConvolution.filter(*this);
+ vcl::BitmapScaleConvolutionFilter aScaleConvolutionFilter(rScaleX, rScaleY, vcl::ConvolutionKernelType::BiCubic);
+ bRetval = aScaleConvolutionFilter.execute(*this);
break;
}
case BmpScaleFlag::BiLinear :
{
- vcl::BitmapScaleConvolution aScaleConvolution(rScaleX, rScaleY, vcl::ConvolutionKernelType::BiLinear);
- bRetval = aScaleConvolution.filter(*this);
+ vcl::BitmapScaleConvolutionFilter aScaleConvolutionFilter(rScaleX, rScaleY, vcl::ConvolutionKernelType::BiLinear);
+ bRetval = aScaleConvolutionFilter.execute(*this);
break;
}
}