[Libreoffice-commits] core.git: vcl/source
Luc Castermans
luc.castermans at gmail.com
Tue Feb 18 21:18:22 CET 2014
vcl/source/gdi/outdev4.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1bbc5537a8acf2de2112a7ee6eb2dd76bb841dab
Author: Luc Castermans <luc.castermans at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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 );
More information about the Libreoffice-commits
mailing list