Kaydet (Commit) 77165efb authored tarafından Michael Stahl's avatar Michael Stahl

Revert "WaE: indexes past the end of an array"

This reverts commit 51e3df40.

The fix was correct at the time it was done, but unfortunately now it
conflicts with 89f08dce, which fixes the
same problem by changing the definition of DFF_ANIM_PROPERTY_ID_COUNT.
üst 78f1e95d
......@@ -963,11 +963,7 @@ sal_Int16 AnimationExporter::exportAnimPropertySet( SvStream& rStrm, const Refer
// storing user data into pAny, to allow direct access later
const Sequence< NamedValue > aUserData = xNode->getUserData();
// ids start from 1, DFF_ANIM_PROPERTY_ID_COUNT is the highest id
// number
const ::com::sun::star::uno::Any* pAny[ DFF_ANIM_PROPERTY_ID_COUNT + 1 ];
const ::com::sun::star::uno::Any* pAny[ DFF_ANIM_PROPERTY_ID_COUNT ];
GetUserData( aUserData, pAny, sizeof( pAny ) );
if( pAny[ DFF_ANIM_AFTEREFFECT ] )
......
......@@ -986,11 +986,7 @@ void PowerPointExport::WriteAnimationNodeCommonPropsStart( FSHelperPtr pFS, cons
}
const Sequence< NamedValue > aUserData = rXNode->getUserData();
// ids start from 1, DFF_ANIM_PROPERTY_ID_COUNT is the highest id
// number
const Any* pAny[ DFF_ANIM_PROPERTY_ID_COUNT + 1];
const Any* pAny[ DFF_ANIM_PROPERTY_ID_COUNT ];
AnimationExporter::GetUserData( aUserData, pAny, sizeof( pAny ) );
sal_Int16 nType = 0;
......
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