summaryrefslogtreecommitdiff
path: root/svx/source/msfilter/msashape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/msfilter/msashape.cxx')
-rw-r--r--svx/source/msfilter/msashape.cxx20
1 files changed, 4 insertions, 16 deletions
diff --git a/svx/source/msfilter/msashape.cxx b/svx/source/msfilter/msashape.cxx
index e44ee070bc..8a9d37ccd6 100644
--- a/svx/source/msfilter/msashape.cxx
+++ b/svx/source/msfilter/msashape.cxx
@@ -5263,23 +5263,11 @@ SvxMSDffCustomShape::SvxMSDffCustomShape( const DffPropertyReader& rPropReader,
break;
case mso_sptCurvedDownArrow : nFlags |= DFF_CUSTOMSHAPE_EXCH; break;
case mso_sptRibbon2 : nColorData = 0x30dd0000; break;
- case mso_sptRibbon :
- {
- if ( nHandlesSet & 2 )
- nHandles[ 1 ] = 21600 - nHandles[ 1 ];
- nFlags |= DFF_CUSTOMSHAPE_FLIP_V;
- nColorData = 0x30dd0000;
- }
- break;
+ case mso_sptRibbon : nColorData = 0x30dd0000; break;
+
case mso_sptEllipseRibbon2 : nColorData = 0x30dd0000; break;
- case mso_sptEllipseRibbon : // !!!!!!!!!!
- {
- if ( nHandlesSet & 2 )
- nHandles[ 1 ] = 21600 - nHandles[ 1 ];
- nFlags |= DFF_CUSTOMSHAPE_FLIP_V;
- nColorData = 0x30dd0000;
- }
- break;
+ case mso_sptEllipseRibbon : nColorData = 0x30dd0000; break;
+
case mso_sptVerticalScroll : nColorData = 0x30dd0000; break;
case mso_sptHorizontalScroll : nColorData = 0x30dd0000; break;
default: break;