summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-02-05 15:30:21 +0100
committerMichael Stahl <mstahl@redhat.com>2015-02-05 15:31:02 +0100
commit6cd1012563902e273eeef0d4250729c6fb0e5641 (patch)
tree1f68d0c2e06b7bc949892620652b17a110b891d6 /filter
parente73799f8a9310f04074bc0dd88d9092094338576 (diff)
svx: remove silly cast
Change-Id: Ia8097b6d92c9bc4e3841d96bcb8cd553969f54a0
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/escherex.cxx2
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;