summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/source/generic/poly.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 70bafc824404..ab33eb61021b 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -58,7 +58,7 @@ static double ImplGetParameter( const Point& rCenter, const Point& rPt, double f
{
const double nDX = static_cast<double>(rPt.X()) - rCenter.X();
const double nDY = static_cast<double>(rCenter.Y()) - rPt.Y();
- double fAngle = atan2(nDY, (nDX == 0) ? 0.000000001 : nDX);
+ double fAngle = atan2(nDY, nDX);
return atan2(fWR*sin(fAngle), fHR*cos(fAngle));
}
Tomas Chvatal 2013-01-31fdo#46706 Windows 2000 is not supported any moreAndras Timar 2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl 2013-01-26update LICENSE documentAndras Timar 2012-12-30add runtime deps for custom targetsDavid Tardon 2012-12-29rethink external executable setupDavid Tardon 2012-12-25Get rid of (most uses of) GUITor Lillqvist 2012-12-25convert external to gbuildPeter Foley 2012-12-05Bye bye ODMA (LICENSE.odt)Andras Timar 2012-12-05Bye bye ODMATor Lillqvist 2012-12-02move setting up of ext. executables out of gbuild.mkDavid Tardon 2012-12-02Make qtz work in UIZolnai Tamás 2012-11-20fix readlicense_oo makefile, po file movedAndras Timar 2012-11-20Merge branch 'feature/killsdf'Andras Timar 2012-11-20Reardme.xrm move up one directoryZolnai Tamás 2012-11-12Don't bundle gdiplus.dll any moreTor Lillqvist 2012-11-12update license document with new fontsAndras Timar 2012-11-11Merge branch 'master' into feature/killsdfAndras Timar 2012-11-07update LICENSE documentAndras Timar 2012-10-25remove all traces of saxonDavid Tardon 2012-10-13Merge branch 'master' into feature/killsdfAndras Timar 2012-10-05add ODMA licenseAndras Timar 2012-10-03rename THIRDPARTYLICENSEREADME.html to LICENSE.htmlAndras Timar 2012-10-01translations is a source-only moduleAndras Timar 2012-09-30Use po for merge of readme.xrmZolnai Tamás 2012-09-23revert all my recent changes to CustomTarget_readme.mkAndras Timar 2012-09-23Revert "Revert "fix localization of readlicense_oo""Andras Timar 2012-09-23Revert "fix localization of readlicense_oo"Andras Timar 2012-09-23fix localization of readlicense_ooAndras Timar 2012-09-23fix localization of readlicense_ooAndras Timar 2012-09-23move readme.xrm one dir upDavid Tardon 2012-09-23drop obsolete cruftDavid Tardon 2012-09-23migrate readlicense_oo to gbuildDavid Ostrovsky