vcl/source/gdi/outdev4.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit d6a1071034300356d225f6c89b7c75b110bc20ca
Author: Julien Nabet <[email protected]>
Date: Fri Mar 22 22:24:53 2013 +0100
coverity#440825 Logically dead code
Change-Id: If16f1815d7ce7638d51d62243ccea787f1043efb
diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx
index fa4a667..b891eb8 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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits