diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-22 22:24:53 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-22 22:25:06 +0100 |
commit | d6a1071034300356d225f6c89b7c75b110bc20ca (patch) | |
tree | 09defd3798fccb574115dabfd8a4726394160be5 /vcl | |
parent | c4c8bf85d25def82b9aba783461010e6ad9ab06c (diff) |
coverity#440825 Logically dead code
Change-Id: If16f1815d7ce7638d51d62243ccea787f1043efb
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/outdev4.cxx | 3 |
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 |