diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-12 09:24:14 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-12 09:24:14 +0100 |
commit | 062f24fba52d2f29efdee5f7674bdefa6d898bf3 (patch) | |
tree | 5fd145b6466ae71d470a7db1d6c848afc3d742bb /editeng | |
parent | 3648fb3c27f87e9b03679b42b9616785d02a3c22 (diff) |
change of __READONLY_DATA define to const
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/svxfont.cxx | 2 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index e23d9e836aa2..2a1d11888424 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -51,7 +51,7 @@ #ifndef REDUCEDSVXFONT const sal_Unicode CH_BLANK = sal_Unicode(' '); // ' ' Leerzeichen - static sal_Char __READONLY_DATA sDoubleSpace[] = " "; + static sal_Char const sDoubleSpace[] = " "; #endif /************************************************************************* diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index eb009a575c1b..130070b625cc 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -481,12 +481,12 @@ BOOL SvxAutoCorrect::FnChgOrdinalNumber( if( 2 < nEndPos - nSttPos && rCC.isDigit( rTxt, nEndPos - 3 ) ) { - static sal_Char __READONLY_DATA + static sal_Char const sAll[] = "th", /* rest */ sFirst[] = "st", /* 1 */ sSecond[] = "nd", /* 2 */ sThird[] = "rd"; /* 3 */ - static const sal_Char* __READONLY_DATA aNumberTab[ 4 ] = + static const sal_Char* const aNumberTab[ 4 ] = { sAll, sFirst, sSecond, sThird }; |