View | Details | Raw Unified | Return to issue 119519
Collapse All | Expand All

(-)svx/source/customshapes/EnhancedCustomShape2d.cxx (-6 / +8 lines)
Lines 1497-1510 Link Here
1497
1497
1498
				case ANGLEELLIPSE :
1498
				case ANGLEELLIPSE :
1499
				{
1499
				{
1500
					if(aNewB2DPolygon.count() > 1L)
1500
					if ( nPntCount )
1501
					{
1501
					{
1502
						// #i76201# Add conversion to closed polygon when first and last points are equal
1502
						if(aNewB2DPolygon.count() > 1L)
1503
						basegfx::tools::checkClosed(aNewB2DPolygon);
1503
						{
1504
						aNewB2DPolyPolygon.append(aNewB2DPolygon);
1504
							// #i76201# Add conversion to closed polygon when first and last points are equal
1505
							basegfx::tools::checkClosed(aNewB2DPolygon);
1506
							aNewB2DPolyPolygon.append(aNewB2DPolygon);
1507
						}
1508
						aNewB2DPolygon.clear();
1505
					}
1509
					}
1506
1507
					aNewB2DPolygon.clear();
1508
				}
1510
				}
1509
				case ANGLEELLIPSETO :
1511
				case ANGLEELLIPSETO :
1510
				{
1512
				{

Return to issue 119519