summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/converter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index be9992d470ac..e8bd90f02c21 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -669,7 +669,7 @@ bool Converter::convertAngle(sal_Int16& rAngle, OUString const& rString)
}
else if (-1 != rString.indexOf("rad"))
{
- nValue = (fValue * 180.0 / M_PI) * 10.0;
+ nValue = basegfx::rad2deg(fValue) * 10.0;
}
else // no explicit unit
{