summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-12-09 12:50:33 +0000
committerRüdiger Timm <rt@openoffice.org>2008-12-09 12:50:33 +0000
commit8afe4c24c97a90326ff84a891344ddbf401b1b56 (patch)
treef46d47924959dbd34d97d92f0498ad9eba5cf32f /sd/source
parent96b93c4edb897763d004304eb529392f35c209eb (diff)
CWS-TOOLING: integrate CWS sjfixes11_DEV300
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx
index 3367a93e1e42..a4d28683f8c0 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -1302,10 +1302,13 @@ void AnimationExporter::exportAnimEvent( SvStream& rStrm, const Reference< XAnim
// taking the first child
Reference< XEnumerationAccess > xEA( xNode, UNO_QUERY_THROW );
Reference< XEnumeration > xE( xEA->createEnumeration(), UNO_QUERY_THROW );
-// while( xE->hasMoreElements() )
+ if ( xE.is() && xE->hasMoreElements() )
{
- Reference< XAnimationNode > xClickNode( xE->nextElement(), UNO_QUERY );
- aAny = xClickNode->getBegin();
+// while( xE->hasMoreElements() )
+ {
+ Reference< XAnimationNode > xClickNode( xE->nextElement(), UNO_QUERY );
+ aAny = xClickNode->getBegin();
+ }
}
}
else if ( nFlags & 0x40 )