From 12569802394fb0a9850fcdb0647a0845a803f1ff Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 2 Sep 2016 10:53:14 +0200 Subject: convert GradientStyle to scoped enum Change-Id: Ib740da708612df7a5f4b8c82262b9b1bd436604d --- sc/source/ui/cctrl/tbzoomsliderctrl.cxx | 2 +- sc/source/ui/view/output.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx index bc8319424c55..71a4a94af0e0 100644 --- a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx +++ b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx @@ -424,7 +424,7 @@ void ScZoomSliderWnd::DoPaint(vcl::RenderContext& rRenderContext, const Rectangl Gradient aGradient; aGradient.SetAngle(0); - aGradient.SetStyle(GradientStyle_LINEAR); + aGradient.SetStyle(GradientStyle::Linear); aGradient.SetStartColor(aStartColor); aGradient.SetEndColor(aEndColor); diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx index 064bfa858caf..aa0a6bdb1188 100644 --- a/sc/source/ui/view/output.cxx +++ b/sc/source/ui/view/output.cxx @@ -839,7 +839,7 @@ void drawDataBars(vcl::RenderContext& rRenderContext, const ScDataBarInfo* pOldD if(pOldDataBarInfo->mbGradient) { rRenderContext.SetLineColor(pOldDataBarInfo->maColor); - Gradient aGradient(GradientStyle_LINEAR, pOldDataBarInfo->maColor, COL_TRANSPARENT); + Gradient aGradient(GradientStyle::Linear, pOldDataBarInfo->maColor, COL_TRANSPARENT); if(pOldDataBarInfo->mnLength < 0) aGradient.SetAngle(2700); -- cgit