summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-18 13:26:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-18 16:42:52 +0200
commitec640f452af7c62b2e72b84261e2162bae4cef7e (patch)
tree39651174526d4381b1423b5f65d5937ad8521aa3 /filter
parent56453842ddefc7cb53272cee94ebaf8a6a0d9fea (diff)
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: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/presentation_engine.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js
index 152fe03e867a..7fd8eaa3d8fa 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -12170,7 +12170,6 @@ SlideTransition.prototype.createSlideTransition = function( aLeavingSlide, aEnte
case PUSHWIPE_TRANSITION:
{
- var bCombined = false;
var aDirection = null;
switch( this.eTransitionSubType )
{
@@ -12192,10 +12191,7 @@ SlideTransition.prototype.createSlideTransition = function( aLeavingSlide, aEnte
aDirection = { x: -1.0, y: 0.0 };
break;
}
- if( bCombined )
- return null;
- else
- return new MovingSlideChange( aLeavingSlide, aEnteringSlide, aDirection, aDirection );
+ return new MovingSlideChange( aLeavingSlide, aEnteringSlide, aDirection, aDirection );
}
case SLIDEWIPE_TRANSITION: