diff -r c8f31107de72 sd/source/ui/animations/CustomAnimationPane.cxx --- a/sd/source/ui/animations/CustomAnimationPane.cxx Thu Oct 14 14:03:13 2010 +0200 +++ b/sd/source/ui/animations/CustomAnimationPane.cxx Fri Oct 15 13:02:02 2010 +0200 @@ -1701,32 +1701,35 @@ bChanged = true; } - if( bHasTextGrouping ) - { - if( (pTextGroup->getTextGrouping() != nTextGrouping) ) - { - pEffectSequence->setTextGrouping( pTextGroup, nTextGrouping ); - bChanged = true; - } - } - - if( bHasAnimateForm ) - { - if( pTextGroup->getAnimateForm() != bAnimateForm ) - { - pEffectSequence->setAnimateForm( pTextGroup, bAnimateForm ); - bChanged = true; - } - } - - if( bHasTextGroupingAuto ) - { - if( pTextGroup->getTextGroupingAuto() != fTextGroupingAuto ) - { - pEffectSequence->setTextGroupingAuto( pTextGroup, fTextGroupingAuto ); - bChanged = true; - } - } + if (pTextGroup) + { + if( bHasTextGrouping ) + { + if( (pTextGroup->getTextGrouping() != nTextGrouping) ) + { + pEffectSequence->setTextGrouping( pTextGroup, nTextGrouping ); + bChanged = true; + } + } + + if( bHasAnimateForm ) + { + if( pTextGroup->getAnimateForm() != bAnimateForm ) + { + pEffectSequence->setAnimateForm( pTextGroup, bAnimateForm ); + bChanged = true; + } + } + + if( bHasTextGroupingAuto ) + { + if( pTextGroup->getTextGroupingAuto() != fTextGroupingAuto ) + { + pEffectSequence->setTextGroupingAuto( pTextGroup, fTextGroupingAuto ); + bChanged = true; + } + } + } if( bHasTextReverse ) {