diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-11 17:35:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-11 17:35:24 +0100 |
commit | 8b614e7b98ea434c496721052007349656bd33dd (patch) | |
tree | b958ee85dd4bae9b3e97e63d7bd37f79c1311d16 /xmloff/source/draw | |
parent | 361dd2576a09fbda83f3ce9a26ecb590c38f74e3 (diff) |
loplugin:redundantcast: xmloff
(after a to-be-committed improved loplugin:cstylecast would have rewritten the
C-style casts into static_casts)
Change-Id: I4697e7f56d700b360dbdf2ab91ec7932e91244ad
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 9061d9f2583e..2ae08aa8b340 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -1217,7 +1217,7 @@ void SdXMLEllipseShapeContext::StartElement(const uno::Reference< xml::sax::XAtt uno::Reference< beans::XPropertySet > xPropSet( mxShape, uno::UNO_QUERY ); if( xPropSet.is() ) { - xPropSet->setPropertyValue("CircleKind", Any( (drawing::CircleKind)meKind) ); + xPropSet->setPropertyValue("CircleKind", Any( meKind) ); xPropSet->setPropertyValue("CircleStartAngle", Any(mnStartAngle) ); xPropSet->setPropertyValue("CircleEndAngle", Any(mnEndAngle) ); } @@ -1945,7 +1945,7 @@ void SdXMLConnectorShapeContext::StartElement(const uno::Reference< xml::sax::XA { xProps->setPropertyValue("StartPosition", Any(maStart)); xProps->setPropertyValue("EndPosition", Any(maEnd) ); - xProps->setPropertyValue("EdgeKind", Any((drawing::ConnectorType)mnType) ); + xProps->setPropertyValue("EdgeKind", Any(mnType) ); xProps->setPropertyValue("EdgeLine1Delta", Any(mnDelta1) ); xProps->setPropertyValue("EdgeLine2Delta", Any(mnDelta2) ); xProps->setPropertyValue("EdgeLine3Delta", Any(mnDelta3) ); |