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 /cui | |
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 'cui')
-rw-r--r-- | cui/source/tabpages/tpline.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index 3f33c73c3298..944b0a4249cd 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -1451,9 +1451,9 @@ void SvxLineTabPage::Reset( const SfxItemSet* rAttrs ) switch(eLineJoint) { case css::drawing::LineJoint_MAKE_FIXED_SIZE: // fallback to round, unused value - case css::drawing::LineJoint_MIDDLE : // fallback to round, unused value case css::drawing::LineJoint_ROUND : m_pLBEdgeStyle->SelectEntryPos(0); break; case css::drawing::LineJoint_NONE : m_pLBEdgeStyle->SelectEntryPos(1); break; + case css::drawing::LineJoint_MIDDLE : // fallback to mitre, unused value case css::drawing::LineJoint_MITER : m_pLBEdgeStyle->SelectEntryPos(2); break; case css::drawing::LineJoint_BEVEL : m_pLBEdgeStyle->SelectEntryPos(3); break; } |