diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-27 09:02:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-27 09:02:08 +0200 |
commit | 3dc9f684b3994bd125b9f27049581aa35b1e52bc (patch) | |
tree | 02f100c6f11c244df29c1f9632a47fdb5961360a /vcl | |
parent | aff09b486f26fa58a4f26a52e2b26286811d2441 (diff) |
fix tb56 build
Change-Id: I453d6e1840445a03c6918173dc93f32e3028ea74
error: no matching function for call to 'max(int, sal_Int32&)'
Diffstat (limited to 'vcl')
-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 126eee0c1f13..bedc2b70f6d0 100644 --- a/vcl/source/bitmap/BitmapFilterStackBlur.cxx +++ b/vcl/source/bitmap/BitmapFilterStackBlur.cxx @@ -436,7 +436,7 @@ void stackBlurVertical( void stackBlur24(Bitmap& rBitmap, sal_Int32 nRadius, sal_Int32 nComponentWidth) { // Limit radius - nRadius = std::min(254, std::max(2, nRadius)); + nRadius = std::min(254, std::max<sal_Int32>(2, nRadius)); const long nColorChannels = 3; // 3 color channel BlurSharedData aData(nRadius, nComponentWidth, nColorChannels); |