Kaydet (Commit) 3dc9f684 authored tarafından Noel Grandin's avatar Noel Grandin

fix tb56 build

Change-Id: I453d6e1840445a03c6918173dc93f32e3028ea74
error: no matching function for call to 'max(int, sal_Int32&)'
üst aff09b48
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment