Kaydet (Commit) 6491e0ed authored tarafından Takeshi Abe's avatar Takeshi Abe

Mark as const

Change-Id: Ia390987749be2d1d642d4add11efcc892a81722a
üst 4296394d
......@@ -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 } };
......
......@@ -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
{
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment