summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-22 22:24:53 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-22 22:25:06 +0100
commitd6a1071034300356d225f6c89b7c75b110bc20ca (patch)
tree09defd3798fccb574115dabfd8a4726394160be5 /vcl
parentc4c8bf85d25def82b9aba783461010e6ad9ab06c (diff)
coverity#440825 Logically dead code
Change-Id: If16f1815d7ce7638d51d62243ccea787f1043efb
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/outdev4.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx
index fa4a667fd8c3..b891eb8f2e04 100644
--- a/vcl/source/gdi/outdev4.cxx
+++ b/vcl/source/gdi/outdev4.cxx
@@ -225,9 +225,6 @@ void OutputDevice::ImplDrawLinearGradient( const Rectangle& rRect,
nInc = (nMinRect < 800) ? 10 : 20;
}
- if ( !nInc )
- nInc = 1;
-
nStepCount = nMinRect / nInc;
}
// minimal drei Schritte und maximal die Anzahl der Farbunterschiede