summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/unodraw/unoshap2.cxx22
1 files changed, 3 insertions, 19 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 1b1ad743f5fa..779155c1f51a 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -1105,25 +1105,9 @@ bool SvxShapePolyPolygon::getPropertyValueImpl( const OUString& rName, const Sfx
if(mpObj.is())
mpObj->TRGetBaseGeometry(aNewHomogenMatrix, aNewPolyPolygon);
- switch (getShapeKind()) {
- case OBJ_PATHLINE:
- case OBJ_PATHFILL:
- {
- drawing::PolyPolygonBezierCoords aRetval;
- basegfx::unotools::b2DPolyPolygonToPolyPolygonBezier(
- aNewPolyPolygon, aRetval);
- rValue <<= aRetval;
- break;
- }
- default:
- {
- drawing::PointSequenceSequence aRetval(aNewPolyPolygon.count());
- B2DPolyPolygonToSvxPointSequenceSequence(
- aNewPolyPolygon, aRetval);
- rValue <<= aRetval;
- break;
- }
- }
+ drawing::PointSequenceSequence aRetval(aNewPolyPolygon.count());
+ B2DPolyPolygonToSvxPointSequenceSequence(aNewPolyPolygon, aRetval);
+ rValue <<= aRetval;
break;
}
case OWN_ATTR_VALUE_POLYGON: