From 6cd1012563902e273eeef0d4250729c6fb0e5641 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 5 Feb 2015 15:30:21 +0100 Subject: svx: remove silly cast Change-Id: Ia8097b6d92c9bc4e3841d96bcb8cd553969f54a0 --- filter/source/msfilter/escherex.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter') 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; -- cgit