summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx6
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx6
2 files changed, 2 insertions, 10 deletions
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx
index 736a59596ea6..75634f35f986 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -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 ] )
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index dd36bd726a97..2b83a7b79c87 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -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;