Kaydet (Commit) 44bb0cc3 authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: #i119844# align from/to types with DFF_msofbtAnimateRotationData

Change-Id: I43bf12b69892614a6054a14de76bbbd4e46c2ee9
üst 0bec1401
......@@ -714,21 +714,22 @@ namespace oox { namespace ppt {
pNode->getNodeProperties()[ NP_TRANSFORMTYPE ]
= makeAny((sal_Int16)AnimationTransformType::ROTATE);
// TODO make sure the units are OK
// see also DFF_msofbtAnimateRotationData in
// sd/source/filter/ppt/pptinanimations.cxx
if(attribs.hasAttribute( XML_by ) )
{
sal_Int32 nBy = attribs.getInteger( XML_by, 0 );
pNode->setBy( makeAny( (double)nBy ) );
pNode->setBy( makeAny( (double) nBy ) );
}
if(attribs.hasAttribute( XML_from ) )
{
sal_Int32 nFrom = attribs.getInteger( XML_from, 0 );
pNode->setFrom( makeAny( nFrom ) );
pNode->setFrom( makeAny( (double) nFrom ) );
}
if(attribs.hasAttribute( XML_to ) )
{
sal_Int32 nTo = attribs.getInteger( XML_to, 0 );
pNode->setTo( makeAny( nTo ) );
pNode->setTo( makeAny( (double) nTo ) );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment