diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/output.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/output2.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx index 8d95ed2a133c..d46c996a4bd1 100644 --- a/sc/source/ui/view/output.cxx +++ b/sc/source/ui/view/output.cxx @@ -861,9 +861,9 @@ void drawDataBars(vcl::RenderContext& rRenderContext, const ScDataBarInfo* pOldD aGradient.SetSteps(255); if(pOldDataBarInfo->mnLength < 0) - aGradient.SetAngle(Degree10(2700)); + aGradient.SetAngle(2700_deg10); else - aGradient.SetAngle(Degree10(900)); + aGradient.SetAngle(900_deg10); rRenderContext.DrawGradient(aPaintRect, aGradient); diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 59c1ac497275..b0d5f2075c73 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -3452,7 +3452,7 @@ void ScOutputData::DrawEditBottomTop(DrawEditParam& rParam) } } - rParam.mpEngine->Draw(mpDev, aLogicStart, Degree10(900)); + rParam.mpEngine->Draw(mpDev, aLogicStart, 900_deg10); } rParam.adjustForHyperlinkInPDF(aURLStart, mpDev); @@ -3689,7 +3689,7 @@ void ScOutputData::DrawEditTopBottom(DrawEditParam& rParam) // bMoveClipped handling has been replaced by complete alignment // handling (also extending to the left). - rParam.mpEngine->Draw(mpDev, aLogicStart, Degree10(2700)); + rParam.mpEngine->Draw(mpDev, aLogicStart, 2700_deg10); } rParam.adjustForHyperlinkInPDF(aURLStart, mpDev); |