3 From: Thorsten Behrens <thb@openoffice.org>
8 .../customshapes/EnhancedCustomShapeFontWork.cxx | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
12 diff --git svx/source/customshapes/EnhancedCustomShapeFontWork.cxx svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
13 index dfcebaa..2345036 100644
14 --- svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
15 +++ svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
16 @@ -639,7 +639,7 @@ void InsertMissingOutlinePoints( const Polygon& /*rOutlinePoly*/, const std::vec
17 void GetPoint( const Polygon& rPoly, const std::vector< double >& rDistances, const double& fX, double& fx1, double& fy1 )
20 - if ( rPoly.GetSize() )
21 + if ( rPoly.GetSize() > 1 )
23 std::vector< double >::const_iterator aIter = std::lower_bound( rDistances.begin(), rDistances.end(), fX );
24 sal_uInt16 nIdx = sal::static_int_cast<sal_uInt16>( std::distance( rDistances.begin(), aIter ) );