summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/eventimp.cxx
diff options
context:
space:
mode:
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 ) )
{