summaryrefslogtreecommitdiffstats
path: root/svgio/source/svgreader/svgcharacternode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgcharacternode.cxx')
-rw-r--r--svgio/source/svgreader/svgcharacternode.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index b707cc26116a..dbcf95a84f3f 100644
--- a/svgio/source/svgreader/svgcharacternode.cxx
+++ b/svgio/source/svgreader/svgcharacternode.cxx
@@ -604,11 +604,9 @@ namespace svgio
// but it seems to be degrees. Convert here to radians
if(!maRotate.empty())
{
- const double fFactor(F_PI / 180.0);
-
- for(size_t a(0); a < maRotate.size(); a++)
+ for (double& f : maRotate)
{
- maRotate[a] *= fFactor;
+ f = basegfx::deg2rad(f);
}
}