Use M_PI* instead of F_PI*

Change-Id: Ie2b7a1c74fc516781a17a20157b8217bc41e383d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125504
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
Mike Kaganski
2021-11-18 17:43:46 +03:00
parent 0afd2d3bfa
commit 37429f2690
54 changed files with 233 additions and 242 deletions

View File

@@ -768,7 +768,7 @@ namespace cppcanvas::internal
if( nFontAngle != 0 )
{
// set to unity transform rotated by font angle
const double nAngle( nFontAngle * (F_PI / 1800.0) );
const double nAngle( nFontAngle * (M_PI / 1800.0) );
o_rFontRotation = -nAngle;
}
else