diff options
Diffstat (limited to 'slideshow')
5 files changed, 7 insertions, 7 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx index 2e1709e098e9..0450f1cbbf72 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx @@ -292,7 +292,7 @@ void Iris::display(double nTime, double SlideWidth, double SlideHeight, double D void Iris::prepare() { - static GLubyte img[3] = { 80, 80, 80 }; + static const GLubyte img[3] = { 80, 80, 80 }; glGenTextures(1, &maTexture); glBindTexture(GL_TEXTURE_2D, maTexture); diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm index a0c195b514ff..72c86ce88112 100644 --- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm +++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.mm @@ -284,7 +284,7 @@ void Iris::display(double nTime, double SlideWidth, double SlideHeight, double D void Iris::prepare() { - static GLubyte img[3] = { 80, 80, 80 }; + static const GLubyte img[3] = { 80, 80, 80 }; glGenTextures(1, &maTexture); glBindTexture(GL_TEXTURE_2D, maTexture); diff --git a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx index f9186bd8476e..08dc6db8465d 100644 --- a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx +++ b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx @@ -288,7 +288,7 @@ void Iris::display(double nTime, double SlideWidth, double SlideHeight, double D void Iris::prepare() { - static GLubyte img[3] = { 80, 80, 80 }; + static const GLubyte img[3] = { 80, 80, 80 }; glGenTextures(1, &maTexture); glBindTexture(GL_TEXTURE_2D, maTexture); diff --git a/slideshow/source/engine/attributemap.cxx b/slideshow/source/engine/attributemap.cxx index 9bcf37d3d7ae..1185a89dbeff 100644 --- a/slideshow/source/engine/attributemap.cxx +++ b/slideshow/source/engine/attributemap.cxx @@ -41,7 +41,7 @@ namespace slideshow String entries MUST BE SORTED in ascending order! */ - static AnimateAttributeMap::MapEntry lcl_attributeMap[] = + static const AnimateAttributeMap::MapEntry lcl_attributeMap[] = { { "charcolor", ATTRIBUTE_CHAR_COLOR }, { "charfontname", ATTRIBUTE_CHAR_FONT_NAME }, @@ -69,7 +69,7 @@ namespace slideshow { "y", ATTRIBUTE_POS_Y } }; - static AnimateAttributeMap aMap( lcl_attributeMap, + static const AnimateAttributeMap aMap( lcl_attributeMap, SAL_N_ELEMENTS(lcl_attributeMap), false ); diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx index e7385123df83..f39fa0944c9c 100644 --- a/slideshow/test/demoshow.cxx +++ b/slideshow/test/demoshow.cxx @@ -255,7 +255,7 @@ private: typedef ::canvas::tools::ValueMap< sal_Int16 > PropMapT; // fixed PropertyValue map - static PropMapT::MapEntry lcl_propertyMap[] = + static const PropMapT::MapEntry lcl_propertyMap[] = { {"Height", 100}, {"MinimalFrameNumber", 50}, @@ -265,7 +265,7 @@ private: {"Width", 100} }; - static PropMapT aMap( lcl_propertyMap, + static const PropMapT aMap( lcl_propertyMap, SAL_N_ELEMENTS(lcl_propertyMap), true ); |