diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-12-29 22:25:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-30 17:41:32 +0100 |
commit | 90668f3473f4e52cec823ad39c6fcb44ba7c089b (patch) | |
tree | 142e529b364ec70271b7c2696e58b88bafbd4ef9 /filter | |
parent | 97c3280afbb960bd5567bb56af4090fc38030df7 (diff) |
use Degree10 in XPolygon
Change-Id: I1820455de46bd428e1fbc0601aba58d377fdb930
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108488
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 72c44289c9e4..b94289983417 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -881,9 +881,12 @@ static basegfx::B2DPolyPolygon GetLineArrow( const sal_Int32 nLineWidth, const s break; case mso_lineArrowOvalEnd : { - aRetPolyPoly = basegfx::B2DPolyPolygon( XPolygon( Point( static_cast<sal_Int32>( fWidthMul * fLineWidth * 0.50 ), 0 ), + aRetPolyPoly = basegfx::B2DPolyPolygon( + XPolygon( + Point( static_cast<sal_Int32>( fWidthMul * fLineWidth * 0.50 ), 0 ), static_cast<sal_Int32>( fWidthMul * fLineWidth * 0.50 ), - static_cast<sal_Int32>( fLengthMul * fLineWidth * 0.50 ), 0, 3600 ).getB2DPolygon() ); + static_cast<sal_Int32>( fLengthMul * fLineWidth * 0.50 ), + 0_deg10, 3600_deg10 ).getB2DPolygon() ); rbArrowCenter = true; aArrowName.append("msArrowOvalEnd "); } |