From 65ca57a447bae97714b1b32aa2df5705215a95ad Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 2 Sep 2016 08:36:23 +0200 Subject: convert LineStyle to scoped enum Change-Id: I30cfa5a0649b806604c443f55683d1f2a430983d --- vcl/workben/outdevgrind.cxx | 2 +- vcl/workben/svptest.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/workben') diff --git a/vcl/workben/outdevgrind.cxx b/vcl/workben/outdevgrind.cxx index ced001f178a2..01bbefca691d 100644 --- a/vcl/workben/outdevgrind.cxx +++ b/vcl/workben/outdevgrind.cxx @@ -103,7 +103,7 @@ void setupMethodStubs( functor_vector_type& res ) aPolyPoly.Insert( aPoly2 ); tools::Polygon aPoly3(aPoly2); aPoly3.Rotate( aPoly3.GetBoundRect().Center(), 900 ); - const LineInfo aLineInfo(LINE_SOLID,5); + const LineInfo aLineInfo(LineStyle::Solid,5); #ifdef FIXME_VDEV const OUString aString("This is a test"); diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx index 1610fb3d3633..357a56b8dea8 100644 --- a/vcl/workben/svptest.cxx +++ b/vcl/workben/svptest.cxx @@ -314,7 +314,7 @@ void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) Size(aPaperSize.Width() - 2000, 500)), aGradient); - LineInfo aLineInfo(LINE_SOLID, 200); + LineInfo aLineInfo(LineStyle::Solid, 200); double sind = sin(DELTA * M_PI / 180.0); double cosd = cos(DELTA * M_PI / 180.0); double factor = 1 + (DELTA / 1000.0); -- cgit