Kaydet (Commit) da2c3ed5 authored tarafından Andre Fischer's avatar Andre Fischer

#i119519# Fixed import of closed borders from PPT when an ellipse is involved.

Reported by: liupingtan
Patch by: Jianyuan Li
Review by: Andre Fischer
üst 7d4fbffc
......@@ -1496,6 +1496,8 @@ void EnhancedCustomShape2d::CreateSubPath( sal_uInt16& rSrcPt, sal_uInt16& rSegm
break;
case ANGLEELLIPSE :
{
if ( nPntCount )
{
if(aNewB2DPolygon.count() > 1L)
{
......@@ -1503,9 +1505,9 @@ void EnhancedCustomShape2d::CreateSubPath( sal_uInt16& rSrcPt, sal_uInt16& rSegm
basegfx::tools::checkClosed(aNewB2DPolygon);
aNewB2DPolyPolygon.append(aNewB2DPolygon);
}
aNewB2DPolygon.clear();
}
}
case ANGLEELLIPSETO :
{
for ( sal_uInt16 i = 0; ( i < nPntCount ) && ( ( rSrcPt + 2 ) < nCoordSize ); i++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment