vcl/source/gdi/outdev4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1bbc5537a8acf2de2112a7ee6eb2dd76bb841dab Author: Luc Castermans <luc.casterm...@gmail.com> Date: Tue Feb 18 20:12:15 2014 +0100 corrected translation, thanks to Philipp Weissenbacher Change-Id: I7b2f9c6ed95d07c2004ece64f5ff24b9a8a003d4 Reviewed-on: https://gerrit.libreoffice.org/8112 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx index fb8052e..3fca6de 100644 --- a/vcl/source/gdi/outdev4.cxx +++ b/vcl/source/gdi/outdev4.cxx @@ -406,7 +406,7 @@ void OutputDevice::ImplDrawComplexGradient( const Rectangle& rRect, nStepCount = nMinRect / nInc; } - // at least three steps and maximum number if colour differences + // at least three steps and at most the number of colour differences long nSteps = std::max( nStepCount, 2L ); long nCalcSteps = std::abs( nRedSteps ); long nTempSteps = std::abs( nGreenSteps );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits