summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/eventimp.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/eventimp.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/eventimp.cxx')
-rw-r--r--xmloff/source/draw/eventimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index d89d1cd1baf8..fd5c76714190 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -187,7 +187,7 @@ SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp, sal_uInt16 nPrfx, cons
{
sal_Int32 nScale;
if (::sax::Converter::convertPercent( nScale, sValue ))
- mnStartScale = (sal_Int16)nScale;
+ mnStartScale = static_cast<sal_Int16>(nScale);
}
else if( IsXMLToken( aAttrLocalName, XML_SPEED ) )
{