From 062f24fba52d2f29efdee5f7674bdefa6d898bf3 Mon Sep 17 00:00:00 2001 From: Gert Faller Date: Sun, 12 Dec 2010 09:24:14 +0100 Subject: change of __READONLY_DATA define to const --- editeng/source/items/svxfont.cxx | 2 +- editeng/source/misc/svxacorr.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'editeng') 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 }; -- cgit LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-03-16 13:06:23 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-03-16 13:13:05 +0100
commit7b4a46ae144ea71701de6d479c3c6ef74610e52c (patch)
tree0aefd8da90d0a9216362380e3547da0baada4a69 /source
parent610e3f90e150d90bd5305f53d5e39f111f197d4f (diff)
update translations for master
and force-fix errors using pocheck Change-Id: I71b810540431152e930de7cfd52e82fb3352603c
Diffstat (limited to 'source')