diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-02-05 15:30:21 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-02-05 15:31:02 +0100 |
commit | 6cd1012563902e273eeef0d4250729c6fb0e5641 (patch) | |
tree | 1f68d0c2e06b7bc949892620652b17a110b891d6 | |
parent | sw: fix ASAN detected error in RtfSdrExport::Commit() (diff) | |
download | core-6cd1012563902e273eeef0d4250729c6fb0e5641.tar.gz core-6cd1012563902e273eeef0d4250729c6fb0e5641.zip |
svx: remove silly cast
Change-Id: Ia8097b6d92c9bc4e3841d96bcb8cd553969f54a0
-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; |