diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-02 15:47:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-02 16:41:23 +0000 |
commit | c3cc55968eade5c03efca02d4f056b145cd89a70 (patch) | |
tree | 6abe0694b4ed99f149855aad9e6b2d64cd353d81 /svx/source/sdr/primitive2d | |
parent | ddd77c84cfeeef96eb8662b03fa29a8103ed559e (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 'svx/source/sdr/primitive2d')
-rw-r--r-- | svx/source/sdr/primitive2d/sdrattributecreator.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx index e25d6346a02d..7bd9d28014c5 100644 --- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx +++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx @@ -136,14 +136,11 @@ namespace drawinglayer { switch(eLineJoint) { - case css::drawing::LineJoint_MIDDLE : - { - return basegfx::B2DLineJoin::Middle; - } case css::drawing::LineJoint_BEVEL : { return basegfx::B2DLineJoin::Bevel; } + case css::drawing::LineJoint_MIDDLE : case css::drawing::LineJoint_MITER : { return basegfx::B2DLineJoin::Miter; |