diff options
Diffstat (limited to 'svx/source/unodraw/unopage.cxx')
-rw-r--r-- | svx/source/unodraw/unopage.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index 15a3b01c5635..7dc51166c3b5 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -649,7 +649,7 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, SdrInvent pRet = new SvxShapeGroup( pObj, mpPage ); break; case OBJ_LINE: - pRet = new SvxShapePolyPolygon( pObj , PolygonKind_LINE ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_RECT: pRet = new SvxShapeRect( pObj ); @@ -661,24 +661,24 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, SdrInvent pRet = new SvxShapeCircle( pObj ); break; case OBJ_POLY: - pRet = new SvxShapePolyPolygon( pObj , PolygonKind_POLY ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_PLIN: - pRet = new SvxShapePolyPolygon( pObj , PolygonKind_PLIN ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_SPLNLINE: case OBJ_PATHLINE: - pRet = new SvxShapePolyPolygonBezier( pObj , PolygonKind_PATHLINE ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_SPLNFILL: case OBJ_PATHFILL: - pRet = new SvxShapePolyPolygonBezier( pObj , PolygonKind_PATHFILL ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_FREELINE: - pRet = new SvxShapePolyPolygonBezier( pObj , PolygonKind_FREELINE ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_FREEFILL: - pRet = new SvxShapePolyPolygonBezier( pObj , PolygonKind_FREEFILL ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_CAPTION: pRet = new SvxShapeCaption( pObj ); @@ -754,10 +754,10 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, SdrInvent pRet = new SvxShapeConnector( pObj ); break; case OBJ_PATHPOLY: - pRet = new SvxShapePolyPolygon( pObj , PolygonKind_PATHPOLY ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_PATHPLIN: - pRet = new SvxShapePolyPolygon( pObj , PolygonKind_PATHPLIN ); + pRet = new SvxShapePolyPolygon( pObj ); break; case OBJ_PAGE: { |