summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-02 08:36:23 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commit65ca57a447bae97714b1b32aa2df5705215a95ad (patch)
tree9b62f8fb4a890d5fcba13abc446b3244e9c5232f /vcl/workben
parenta881fd7e66294ada222e1d618a7d47a0549a2342 (diff)
convert LineStyle to scoped enum
Change-Id: I30cfa5a0649b806604c443f55683d1f2a430983d
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/outdevgrind.cxx2
-rw-r--r--vcl/workben/svptest.cxx2
2 files changed, 2 insertions, 2 deletions
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);