summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx28
1 files changed, 21 insertions, 7 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index d512283a475e..3a23d714c56f 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -803,13 +803,27 @@ void CustomAnimationPane::onContextMenu( sal_uInt16 nSelectedPopupEntry )
{
switch( nSelectedPopupEntry )
{
- case CM_WITH_CLICK: onChangeStart( EffectNodeType::ON_CLICK ); break;
- case CM_WITH_PREVIOUS: onChangeStart( EffectNodeType::WITH_PREVIOUS ); break;
- case CM_AFTER_PREVIOUS: onChangeStart( EffectNodeType::AFTER_PREVIOUS ); break;
- case CM_OPTIONS: showOptions(); break;
- case CM_DURATION: showOptions("timing"); break;
- case CM_REMOVE: onRemove(); break;
- case CM_CREATE: if( maViewSelection.hasValue() ) onChange( true ); break;
+ case CM_WITH_CLICK:
+ onChangeStart( EffectNodeType::ON_CLICK );
+ break;
+ case CM_WITH_PREVIOUS:
+ onChangeStart( EffectNodeType::WITH_PREVIOUS );
+ break;
+ case CM_AFTER_PREVIOUS:
+ onChangeStart( EffectNodeType::AFTER_PREVIOUS );
+ break;
+ case CM_OPTIONS:
+ showOptions();
+ break;
+ case CM_DURATION:
+ showOptions("timing");
+ break;
+ case CM_REMOVE:
+ onRemove();
+ break;
+ case CM_CREATE:
+ if( maViewSelection.hasValue() ) onChange( true );
+ break;
}
updateControls();