[Libreoffice-commits] core.git: vcl/source
Julien Nabet
serval2412 at yahoo.fr
Fri Mar 22 14:34:51 PDT 2013
vcl/source/gdi/outdev4.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 97edb75d08e35eb014037fa6a4f93eeb16e11271
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Mar 22 22:32:16 2013 +0100
coverity#440825 Logically dead code
The other one was in fact 440826
Change-Id: I0163892e651a8080873985d2c58eea97d65ff678
diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx
index b891eb8..db6488c 100644
--- a/vcl/source/gdi/outdev4.cxx
+++ b/vcl/source/gdi/outdev4.cxx
@@ -432,9 +432,6 @@ void OutputDevice::ImplDrawComplexGradient( const Rectangle& rRect,
nInc = (nMinRect < 800) ? 10 : 20;
}
- if( !nInc )
- nInc = 1;
-
nStepCount = nMinRect / nInc;
}
More information about the Libreoffice-commits
mailing list