diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-10 21:53:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-11 10:05:39 +0100 |
commit | 69b5f0b6579c6574a8fe68ab2a64208ec767db55 (patch) | |
tree | 1fafea3a72e113d0a915a1f79a2f4b3406d695a0 /slideshow | |
parent | 4015b22dbc10bc246a3ef704d8b75e8f8cdca519 (diff) |
loplugin:constparams
Change-Id: I5f184f93dbdb414514855c85c9dc1624e7ec8636
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/opengl/TransitionerImpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/opengl/TransitionerImpl.cxx b/slideshow/source/engine/opengl/TransitionerImpl.cxx index fcf859b40d93..6f9e2a26001d 100644 --- a/slideshow/source/engine/opengl/TransitionerImpl.cxx +++ b/slideshow/source/engine/opengl/TransitionerImpl.cxx @@ -176,7 +176,7 @@ protected: void createTexture( GLuint* texID, bool useMipmap, - uno::Sequence<sal_Int8>& data, + const uno::Sequence<sal_Int8>& data, const OGLFormat* pFormat ); const OGLFormat* chooseFormats(); @@ -188,7 +188,7 @@ private: void setSlides( const Reference< rendering::XBitmap >& xLeavingSlide , const uno::Reference< rendering::XBitmap >& xEnteringSlide ); void impl_prepareSlides(); - void impl_createTexture( bool useMipmap, uno::Sequence<sal_Int8>& data, const OGLFormat* pFormat ); + void impl_createTexture( bool useMipmap, const uno::Sequence<sal_Int8>& data, const OGLFormat* pFormat ); bool initWindowFromSlideShowView( const uno::Reference< presentation::XSlideShowView >& xView ); /** After the window has been created, and the slides have been set, we'll initialize the slides with OpenGL. @@ -448,7 +448,7 @@ bool OGLTransitionerImpl::setTransition( const std::shared_ptr<OGLTransitionImpl void OGLTransitionerImpl::createTexture( GLuint* texID, bool useMipmap, - uno::Sequence<sal_Int8>& data, + const uno::Sequence<sal_Int8>& data, const OGLFormat* pFormat ) { CHECK_GL_ERROR(); @@ -817,7 +817,7 @@ void buildMipmaps( void OGLTransitionerImpl::impl_createTexture( bool useMipmap, - uno::Sequence<sal_Int8>& data, + const uno::Sequence<sal_Int8>& data, const OGLFormat* pFormat ) { if( !pFormat ) |