summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximpshap.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:09:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:09:29 +0100
commitdec5264878903ee010e9a6296357750f6c69c844 (patch)
treee987833003c31730486c95e82b6cc97b960de1a2 /xmloff/source/draw/ximpshap.cxx
parentab279d30de4188baa4b33688aaed96072f3b4818 (diff)
More loplugin:cstylecast: xmloff
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Ic872cef7bb9982305528ec3ce12a1871f055b752
Diffstat (limited to 'xmloff/source/draw/ximpshap.cxx')
-rw-r--r--xmloff/source/draw/ximpshap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 2ae08aa8b340..03b9d351061f 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -1175,14 +1175,14 @@ void SdXMLEllipseShapeContext::processAttribute( sal_uInt16 nPrefix, const OUStr
{
double dStartAngle;
if (::sax::Converter::convertDouble( dStartAngle, rValue ))
- mnStartAngle = (sal_Int32)(dStartAngle * 100.0);
+ mnStartAngle = static_cast<sal_Int32>(dStartAngle * 100.0);
return;
}
if( IsXMLToken( rLocalName, XML_END_ANGLE ) )
{
double dEndAngle;
if (::sax::Converter::convertDouble( dEndAngle, rValue ))
- mnEndAngle = (sal_Int32)(dEndAngle * 100.0);
+ mnEndAngle = static_cast<sal_Int32>(dEndAngle * 100.0);
return;
}
}