diff options
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 7c419bef295f..11a2d9233003 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -3828,7 +3828,7 @@ void EscherPropertyContainer::CreateCustomShapeProperties( const MSO_SPT eShapeT if ( aPathCoordinatesProp >>= aCoordinates ) { // creating the vertices - if ( (sal_uInt16)aCoordinates.getLength() ) + if (aCoordinates.getLength() > 0) { sal_uInt16 j, nElements = (sal_uInt16)aCoordinates.getLength(); sal_uInt16 nElementSize = 8; |