diff options
-rw-r--r-- | vcl/source/bitmap/BitmapFilterStackBlur.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/bitmap/BitmapFilterStackBlur.cxx b/vcl/source/bitmap/BitmapFilterStackBlur.cxx index 86b8af364f97..975f3ad0fa00 100644 --- a/vcl/source/bitmap/BitmapFilterStackBlur.cxx +++ b/vcl/source/bitmap/BitmapFilterStackBlur.cxx @@ -458,7 +458,7 @@ void stackBlur24(Bitmap& rBitmap, sal_Int32 nRadius, sal_Int32 nComponentWidth) void stackBlur8(Bitmap& rBitmap, sal_Int32 nRadius, sal_Int32 nComponentWidth) { // Limit radius - nRadius = std::min(254, std::max(2, nRadius)); + nRadius = std::min<sal_Int32>(254, std::max<sal_Int32>(2, nRadius)); const long nColorChannels = 1; // 1 color channel BlurSharedData aData(nRadius, nComponentWidth, nColorChannels); |