diff options
author | David Tardon <dtardon@redhat.com> | 2011-01-25 10:10:27 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-01-25 10:10:27 +0100 |
commit | 1047b3455b3214b15f46f63a3add7d0ad649ea1b (patch) | |
tree | d55c55784ea631a919c6701f3bdb5ea82bd55773 /basegfx | |
parent | a898473f0b57bf322e6056d9c230555f9dc4efb5 (diff) |
split the expr, as gcc 4.6 bails out on it
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dsvgpolypolygon.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx index e17c5073954e..c42ea4d8b65b 100644 --- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx +++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx @@ -787,9 +787,9 @@ namespace basegfx // (since // createPolygonFromEllipseSegment() // normalizes to e.g. cw arc) - const bool bFlipSegment( (bLargeArcFlag!=0) == - (fmod(fTheta2+2*M_PI-fTheta1, - 2*M_PI)<M_PI) ); + const bool bLessThanPi(fmod(fTheta2+2*M_PI-fTheta1, + 2*M_PI)<M_PI); + const bool bFlipSegment( (bLargeArcFlag!=0) == bLessThanPi ); if( bFlipSegment ) std::swap(fTheta1,fTheta2); |