summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-02 15:47:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-02 16:41:23 +0000
commitc3cc55968eade5c03efca02d4f056b145cd89a70 (patch)
tree6abe0694b4ed99f149855aad9e6b2d64cd353d81 /cppcanvas
parentddd77c84cfeeef96eb8662b03fa29a8103ed559e (diff)
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
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx4
1 files changed, 2 insertions, 2 deletions
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: