Use basegfx::rad2deg() instead of *57.29577951308
commit52ad81c74887e5c4d9a8c0a3cc8a11e3785cb72c
authorHossein <hossein@libreoffice.org>
Tue, 9 Nov 2021 12:25:37 +0000 (9 13:25 +0100)
committerMike Kaganski <mike.kaganski@collabora.com>
Mon, 15 Nov 2021 06:56:51 +0000 (15 07:56 +0100)
tree2da40649e358d7b80b68cbcf63a5debb27b10329
parent7a0d3ed55c5b6ebda129d66574d78168ca29135b
Use basegfx::rad2deg() instead of *57.29577951308

* Replaced multiplying by magic number 57.29577951308 with
    basegfx::rad2deg() which is equal to 180.0/M_PI
* Instances of this could be found using:

   git grep 57.29577951308 *.cxx *.hxx

Change-Id: I0ae99a5d63d104b79c6df2dc88e9dda6973a1d3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124226
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
emfio/source/reader/mtftools.cxx
filter/source/graphicfilter/icgm/actimpr.cxx
filter/source/graphicfilter/icgm/bitmap.cxx
filter/source/graphicfilter/icgm/class4.cxx