summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-11-04 09:31:29 +0000
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 07:59:00 +0100
commit1af1ff30bded2fbd9d064b12ae93aa847091021c (patch)
tree95b4778144e14eff71313b8a134610eaec11ef5c /slideshow
parente8757c22e3fbed05e52442d8c75f603dd6379c31 (diff)
constify slideshow.
Change-Id: I548f527be4be76a2bda43dcb5ee14e4f50f3b409
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index 2d5d062a568e..22fca9170247 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
@@ -446,7 +446,7 @@ void OGLTransitionerImpl::impl_prepareSlides()
#if defined( GLX_EXT_texture_from_pixmap )
- GLWindow& rGLWindow(mpContext->getOpenGLWindow());
+ const GLWindow& rGLWindow(mpContext->getOpenGLWindow());
if( GLXEW_EXT_texture_from_pixmap && xLeavingSet.is() && xEnteringSet.is() && mbHasTFPVisual ) {
Sequence< Any > leaveArgs;
@@ -1218,7 +1218,7 @@ void SAL_CALL OGLTransitionerImpl::update( double nTime ) throw (uno::RuntimeExc
if(mpTransition)
{
- GLWindow& rGLWindow(mpContext->getOpenGLWindow());
+ const GLWindow& rGLWindow(mpContext->getOpenGLWindow());
mpTransition->display( nTime, maLeavingSlideGL, maEnteringSlideGL,
maSlideSize.Width, maSlideSize.Height,
static_cast<double>(rGLWindow.Width),
@@ -1261,7 +1261,7 @@ void OGLTransitionerImpl::disposeTextures()
mpContext->makeCurrent();
#if defined( GLX_EXT_texture_from_pixmap )
- GLWindow& rGLWindow(mpContext->getOpenGLWindow());
+ const GLWindow& rGLWindow(mpContext->getOpenGLWindow());
if( mbUseLeavingPixmap ) {
glXReleaseTexImageEXT( rGLWindow.dpy, maLeavingPixmapGL, GLX_FRONT_LEFT_EXT );