[Libreoffice-commits] core.git: sd/source

Stephan Bergmann sbergman at redhat.com
Thu Jan 14 06:04:11 PST 2016


 sd/source/ui/animations/CustomAnimationPane.cxx |   28 ++++++++++++++++++------
 1 file changed, 21 insertions(+), 7 deletions(-)

New commits:
commit 6efd3da8a20ec7683d84c3779d6685253dc21746
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jan 14 15:03:45 2016 +0100

    -Werror=misleading-indentation (GCC 6)
    
    Change-Id: I892dc449bc2e9840ec8dac9c4a1b43961b6c1b07

diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index d512283..3a23d71 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();


More information about the Libreoffice-commits mailing list