From c3cc55968eade5c03efca02d4f056b145cd89a70 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 2 Feb 2016 15:47:41 +0000 Subject: remove B2DLineJoin::Middle and consistently map css::drawing::LineJoint_MIDDLE to the same thing that css::drawing::LineJoint_MITRE points to everywhere else Change-Id: I77b7586ea13f3fe84c0529172758256666488d36 --- cppcanvas/source/mtfrenderer/implrenderer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppcanvas') diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 31cd771ceb44..c07ee3497a0f 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -120,9 +120,9 @@ namespace o_rStrokeAttributes.StartCapType = rendering::PathCapType::BUTT; o_rStrokeAttributes.EndCapType = rendering::PathCapType::BUTT; - switch(rLineInfo.GetLineJoin()) + switch (rLineInfo.GetLineJoin()) { - default: // B2DLineJoin::NONE, B2DLineJoin::Middle + case basegfx::B2DLineJoin::NONE: o_rStrokeAttributes.JoinType = rendering::PathJoinType::NONE; break; case basegfx::B2DLineJoin::Bevel: -- cgit