diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:00:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:00:57 +0100 |
commit | 9dab60931e65220049b7c39579a57aebf0f9de5e (patch) | |
tree | 14ca37e3f41ee344e010334f69806afbe6317d15 /xmloff/source/transform | |
parent | b5ed99e5a5adc097283f1409a06d770949fb22af (diff) |
More loplugin:cstylecast: xmloff
Change-Id: I870bc9fd1c7361913b073411065ec723f6b080da
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r-- | xmloff/source/transform/StyleOOoTContext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx index 738f1e7622d7..b0dfbd7d0b0d 100644 --- a/xmloff/source/transform/StyleOOoTContext.cxx +++ b/xmloff/source/transform/StyleOOoTContext.cxx @@ -411,7 +411,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement( { pContext->AddAttribute( sAttrName, sAttrValue ); XMLTypedPropertiesOOoTContext_Impl *pContext2 = - GetPropContext( (XMLPropType)aAction.m_nParam1 ); + GetPropContext( static_cast<XMLPropType>(aAction.m_nParam1) ); if( pContext2 ) pContext2->AddAttribute( sAttrName, sAttrValue ); } @@ -468,7 +468,7 @@ void XMLPropertiesOOoTContext_Impl::StartElement( XMLTransformerBase::ReplaceSingleInchWithIn( aAttrValue ); pContext->AddAttribute( sAttrName, aAttrValue ); XMLTypedPropertiesOOoTContext_Impl *pContext2 = - GetPropContext( (XMLPropType)aAction.m_nParam1 ); + GetPropContext( static_cast<XMLPropType>(aAction.m_nParam1) ); if( pContext2 ) pContext2->AddAttribute( sAttrName, aAttrValue ); } |