summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 2a934272186a..45c8836f9d10 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4541,11 +4541,10 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
aXP[ static_cast<sal_uInt16>(nPtNum) ] = aP;
}
aPolyBoundRect = aXP.GetBoundRect();
- if ( nNumElemVert >= 3 )
- { // arc first command is always wr -- clockwise arc
- // the parameters are : (left,top),(right,bottom),start(x,y),end(x,y)
- aStartPt = aXP[2];
- }
+
+ // arc first command is always wr -- clockwise arc
+ // the parameters are : (left,top),(right,bottom),start(x,y),end(x,y)
+ aStartPt = aXP[2];
}
else
aPolyBoundRect = tools::Rectangle( -21600, 0, 21600, 43200 ); // defaulting