[Libreoffice-commits] core.git: tools/source
Stephan Bergmann
sbergman at redhat.com
Wed Jul 5 13:31:41 UTC 2017
tools/source/generic/point.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8977d7e3cae3cdd119478c112322b1643cb42230
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jul 5 15:31:11 2017 +0200
loplugin:unnecessaryparen
Change-Id: I051e25366300d9ca48ba30825198d78ff67a4bc1
diff --git a/tools/source/generic/point.cxx b/tools/source/generic/point.cxx
index 7feaef6a2083..6d4dc2e1e3ec 100644
--- a/tools/source/generic/point.cxx
+++ b/tools/source/generic/point.cxx
@@ -30,7 +30,7 @@ void Point::RotateAround( long& rX, long& rY,
if ( (nOrientation >= 0) && !(nOrientation % 900) )
{
- if ( (nOrientation >= 3600) )
+ if ( nOrientation >= 3600 )
nOrientation %= 3600;
if ( nOrientation )
More information about the Libreoffice-commits
mailing list