diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-08-12 09:16:31 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-08-12 09:23:52 +0900 |
commit | 12b1d1cda3332a09476f703629fef372c2b06b2a (patch) | |
tree | 8846f4bf1c7d60069e3ed79e22ade2c1aeed5f3f /lotuswordpro | |
parent | cc569401a45e7977aed2aa169b2e2c86d2f06da4 (diff) |
Mark as const
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpbackgroundstuff.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwppttntbl.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx index 2b9da1c04347..8de00f3ecda1 100644 --- a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx +++ b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx @@ -87,7 +87,7 @@ void LwpBackgroundStuff::GetPattern(sal_uInt16 btPttnIndex, sal_uInt8* pPttnArra if (pPttnArray) { assert((2 < btPttnIndex) && (btPttnIndex < 72)); - sal_uInt8* pTempArray = s_pLwpPatternTab[btPttnIndex]; + const sal_uInt8* pTempArray = s_pLwpPatternTab[btPttnIndex]; for(sal_uInt8 i = 0; i < 32; i++) { pPttnArray[i] = (i%4 == 0) ? pTempArray[7-i/4] : 0; diff --git a/lotuswordpro/source/filter/lwppttntbl.hxx b/lotuswordpro/source/filter/lwppttntbl.hxx index a2399ac06278..c1dff5af2b9f 100644 --- a/lotuswordpro/source/filter/lwppttntbl.hxx +++ b/lotuswordpro/source/filter/lwppttntbl.hxx @@ -62,7 +62,7 @@ #ifndef _LTPATTERNTABLE_HXX #define _LTPATTERNTABLE_HXX -static sal_uInt8 s_pLwpPatternTab[][8] = { //Id Name +static const sal_uInt8 s_pLwpPatternTab[][8] = { //Id Name { 0xDF, 0xAF, 0x77, 0x77, 0x77, 0x77, 0xFA, 0xFD },//0 Transparent { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },//1 SolidForeground { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF },//2 SolidBackground |