summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuc Castermans <luc.castermans@gmail.com>2014-02-18 20:12:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-18 20:17:56 +0000
commit1bbc5537a8acf2de2112a7ee6eb2dd76bb841dab (patch)
treee60d01ab42fd376d6daaf174ad170ca9051250b6
parent77e95ea6679fd947c910536357cb53f684ffb539 (diff)
corrected translation, thanks to Philipp Weissenbacher
Change-Id: I7b2f9c6ed95d07c2004ece64f5ff24b9a8a003d4 Reviewed-on: https://gerrit.libreoffice.org/8112 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/gdi/outdev4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx
index fb8052edc3a1..3fca6def1552 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 );