summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/gdi/bitmap3.cxx2
-rw-r--r--vcl/test/canvasbitmaptest.cxx2
-rw-r--r--vcl/win/source/window/salframe.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 8d5e6a453763..5c4905a28b1e 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -215,7 +215,7 @@ void ImplCreateDitherMatrix( sal_uInt8 (*pDitherMatrix)[16][16] )
long i, j, k, l;
sal_uInt16 pMtx[ 16 ][ 16 ];
sal_uInt16 nMax = 0;
- static sal_uInt8 pMagic[4][4] = { { 0, 14, 3, 13, },
+ static const sal_uInt8 pMagic[4][4] = { { 0, 14, 3, 13, },
{11, 5, 8, 6, },
{12, 2, 15, 1, },
{7, 9, 4, 10 } };
diff --git a/vcl/test/canvasbitmaptest.cxx b/vcl/test/canvasbitmaptest.cxx
index 7adba8400b59..c07da032b458 100644
--- a/vcl/test/canvasbitmaptest.cxx
+++ b/vcl/test/canvasbitmaptest.cxx
@@ -701,7 +701,7 @@ public:
void TestWindow::Paint( const Rectangle& )
{
- static sal_Int8 lcl_depths[]={1,4,8,16,24};
+ static const sal_Int8 lcl_depths[]={1,4,8,16,24};
try
{
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 2571b99e2fa7..f3c94140d65b 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -522,7 +522,7 @@ HWND ImplSalReCreateHWND( HWND hWndParent, HWND oldhWnd, sal_Bool bAsChild )
// translation table from System keycodes into StartView keycodes
#define KEY_TAB_SIZE 146
-static sal_uInt16 aImplTranslateKeyTab[KEY_TAB_SIZE] =
+static const sal_uInt16 aImplTranslateKeyTab[KEY_TAB_SIZE] =
{
// StarView-Code System-Code Index
0, // 0