diff options
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 ); } |