Kaydet (Commit) ec640f45 authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: rhbz#1602589 dead_error_line: Execution cannot reach this statement

Change-Id: If0e4ea982ede92d564aafb247c789cc6cc3013ca
Reviewed-on: https://gerrit.libreoffice.org/57638
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 56453842
...@@ -12170,7 +12170,6 @@ SlideTransition.prototype.createSlideTransition = function( aLeavingSlide, aEnte ...@@ -12170,7 +12170,6 @@ SlideTransition.prototype.createSlideTransition = function( aLeavingSlide, aEnte
case PUSHWIPE_TRANSITION: case PUSHWIPE_TRANSITION:
{ {
var bCombined = false;
var aDirection = null; var aDirection = null;
switch( this.eTransitionSubType ) switch( this.eTransitionSubType )
{ {
...@@ -12192,10 +12191,7 @@ SlideTransition.prototype.createSlideTransition = function( aLeavingSlide, aEnte ...@@ -12192,10 +12191,7 @@ SlideTransition.prototype.createSlideTransition = function( aLeavingSlide, aEnte
aDirection = { x: -1.0, y: 0.0 }; aDirection = { x: -1.0, y: 0.0 };
break; break;
} }
if( bCombined ) return new MovingSlideChange( aLeavingSlide, aEnteringSlide, aDirection, aDirection );
return null;
else
return new MovingSlideChange( aLeavingSlide, aEnteringSlide, aDirection, aDirection );
} }
case SLIDEWIPE_TRANSITION: case SLIDEWIPE_TRANSITION:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment