diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-01 13:31:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-01 12:19:58 +0000 |
commit | 64a06ba4bd35e91acd1d9743f9851904eebd1add (patch) | |
tree | fc0cd8aae899611323c3ccc1115387c280844342 /vcl/source/gdi/animate.cxx | |
parent | 644aea938b470dd870267983411c484c166a783d (diff) |
loplugin:constantparam in vcl
Change-Id: I5af0906ced6d0e917b54dee22577fa40d134464c
Reviewed-on: https://gerrit.libreoffice.org/23719
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/gdi/animate.cxx')
-rw-r--r-- | vcl/source/gdi/animate.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/animate.cxx b/vcl/source/gdi/animate.cxx index fd9260f5c9be..f540d5a43b60 100644 --- a/vcl/source/gdi/animate.cxx +++ b/vcl/source/gdi/animate.cxx @@ -569,9 +569,9 @@ bool Animation::ReduceColors( sal_uInt16 nNewColorCount ) bRet = true; for( size_t i = 0, n = maList.size(); ( i < n ) && bRet; ++i ) - bRet = maList[ i ]->aBmpEx.ReduceColors( nNewColorCount, BMP_REDUCE_POPULAR ); + bRet = maList[ i ]->aBmpEx.ReduceColors( nNewColorCount ); - maBitmapEx.ReduceColors( nNewColorCount, BMP_REDUCE_POPULAR ); + maBitmapEx.ReduceColors( nNewColorCount ); } else bRet = false; |