summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-01-15 21:20:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-01-16 11:32:13 +0000
commit1520708cd976ffd39a60bb9d167b6d3c0dbb9c57 (patch)
tree2bbb060c5f30b876048c26fe58e93e4bc55e2603 /slideshow
parent0dbc1bd6b7806f9d7a5c12daf57a8099c54d25a5 (diff)
The third "depth argument is unused
as far as I can determine. We do query the 2nd arg in "gen" when there is an opengl slide transition. Change-Id: I180c91fa193ee6e7e3d5a415e4278aded9fbbba1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145544 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/opengl/TransitionerImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/opengl/TransitionerImpl.cxx b/slideshow/source/engine/opengl/TransitionerImpl.cxx
index 99a9ea79a6ec..4aab29426013 100644
--- a/slideshow/source/engine/opengl/TransitionerImpl.cxx
+++ b/slideshow/source/engine/opengl/TransitionerImpl.cxx
@@ -385,7 +385,7 @@ void OGLTransitionerImpl::setSlides( const uno::Reference< rendering::XBitmap >&
xEnteringFastPropertySet->getFastPropertyValue(1) >>= aEnteringBitmap;
xLeavingFastPropertySet->getFastPropertyValue(1) >>= aLeavingBitmap;
}
- if (aEnteringBitmap.getLength() == 3 && aLeavingBitmap.getLength() == 3)
+ if (aEnteringBitmap.getLength() == 2 && aLeavingBitmap.getLength() == 2)
pChildWindow->SetLeaveEnterBackgrounds(aLeavingBitmap, aEnteringBitmap);
}