diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-27 09:40:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-27 09:40:31 +0200 |
commit | 478133eefe43ad09159a156ae3d4d55c3db78f54 (patch) | |
tree | e66a56b2c4640d2216303e3b7bf20938d3fe4bdf /vcl | |
parent | 28a1e1dded72badd8ad16417d29b56f9476035d6 (diff) |
fix std::min issue
some tinderboxes are complaining with:
could not deduce template argument for 'std::initializer_list<_Elem>' from 'int'
Change-Id: Ib6bb1c9958a86fd7bb98d5ce855764f381d2ba43
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 bedc2b70f6d0..86b8af364f97 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<sal_Int32>(2, nRadius)); + nRadius = std::min<sal_Int32>(254, std::max<sal_Int32>(2, nRadius)); const long nColorChannels = 3; // 3 color channel BlurSharedData aData(nRadius, nComponentWidth, nColorChannels); |