diff options
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 |