diff options
author | Thomas Beck <thomas.beck@cib.de> | 2017-03-28 12:34:19 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-28 11:31:30 +0000 |
commit | 659cb8466495a15a680f684ec4aa1f1d3c4225cc (patch) | |
tree | 91045cff0003cd31a62f16a5b7f1ddb52011b278 /xmloff/source/draw/ximpshap.cxx | |
parent | a70ae479fe30db77354159d614dcacc87e4142c4 (diff) |
tdf#96505 Get rid of cargo cult "long" integer literals
Removed "long" integer literals where applicable in some files of xmloff module
Change-Id: I96f44c00583a95f8a0ae6acf25f439936433ac08
Reviewed-on: https://gerrit.libreoffice.org/35798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff/source/draw/ximpshap.cxx')
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 0eb5f9b38e8b..8f7196801da5 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -933,7 +933,7 @@ SdXMLRectShapeContext::SdXMLRectShapeContext( uno::Reference< drawing::XShapes >& rShapes, bool bTemporaryShape) : SdXMLShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape ), - mnRadius( 0L ) + mnRadius( 0 ) { } @@ -998,10 +998,10 @@ SdXMLLineShapeContext::SdXMLLineShapeContext( uno::Reference< drawing::XShapes >& rShapes, bool bTemporaryShape) : SdXMLShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape ), - mnX1( 0L ), - mnY1( 0L ), - mnX2( 1L ), - mnY2( 1L ) + mnX1( 0 ), + mnY1( 0 ), + mnX2( 1 ), + mnY2( 1 ) { } @@ -1077,9 +1077,9 @@ void SdXMLLineShapeContext::StartElement(const uno::Reference< xml::sax::XAttrib uno::Reference< beans::XPropertySet > xPropSet(mxShape, uno::UNO_QUERY); if(xPropSet.is()) { - drawing::PointSequenceSequence aPolyPoly(1L); + drawing::PointSequenceSequence aPolyPoly(1); drawing::PointSequence* pOuterSequence = aPolyPoly.getArray(); - pOuterSequence->realloc(2L); + pOuterSequence->realloc(2); awt::Point* pInnerSequence = pOuterSequence->getArray(); *pInnerSequence = awt::Point( mnX1 - aTopLeft.X, mnY1 - aTopLeft.Y); @@ -1111,10 +1111,10 @@ SdXMLEllipseShapeContext::SdXMLEllipseShapeContext( uno::Reference< drawing::XShapes >& rShapes, bool bTemporaryShape) : SdXMLShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape ), - mnCX( 0L ), - mnCY( 0L ), - mnRX( 1L ), - mnRY( 1L ), + mnCX( 0 ), + mnCY( 0 ), + mnRX( 1 ), + mnRY( 1 ), meKind( drawing::CircleKind_FULL ), mnStartAngle( 0 ), mnEndAngle( 0 ) @@ -2242,7 +2242,7 @@ SdXMLCaptionShapeContext::SdXMLCaptionShapeContext( bool bTemporaryShape) : SdXMLShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape ), // #86616# for correct edge rounding import mnRadius needs to be initialized - mnRadius( 0L ) + mnRadius( 0 ) { } |