summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-04 00:25:32 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-04 00:54:12 +0900
commite2e15148fc133c0b6fb3d9dc3cade2ef2ef64f41 (patch)
treec9a3b8971b78b7c5dcf065687ce8319d63955414 /editeng
parentbe2761ce013c349d6f6e825b89c76e1c60a63343 (diff)
Mark as const/static
Change-Id: I54a7daee7345e7c0c5c3f866d5c365722b567eff
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/uno/unotext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 3cbf4c80e639..9299b6d30fce 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -949,7 +949,7 @@ beans::PropertyState SAL_CALL SvxUnoTextRangeBase::getPropertyState( const OUStr
return _getPropertyState( PropertyName, -1 );
}
-static sal_uInt16 aSvxUnoFontDescriptorWhichMap[] = { EE_CHAR_FONTINFO, EE_CHAR_FONTHEIGHT, EE_CHAR_ITALIC,
+static const sal_uInt16 aSvxUnoFontDescriptorWhichMap[] = { EE_CHAR_FONTINFO, EE_CHAR_FONTHEIGHT, EE_CHAR_ITALIC,
EE_CHAR_UNDERLINE, EE_CHAR_WEIGHT, EE_CHAR_STRIKEOUT,
EE_CHAR_WLM, 0 };
@@ -968,7 +968,7 @@ beans::PropertyState SAL_CALL SvxUnoTextRangeBase::_getPropertyState(const SfxIt
{
case WID_FONTDESC:
{
- sal_uInt16* pWhichId = aSvxUnoFontDescriptorWhichMap;
+ const sal_uInt16* pWhichId = aSvxUnoFontDescriptorWhichMap;
SfxItemState eTempItemState;
while( *pWhichId )
{
@@ -1115,7 +1115,7 @@ sal_Bool SvxUnoTextRangeBase::_getOnePropertyStates(const SfxItemSet* pSet, cons
{
case WID_FONTDESC:
{
- sal_uInt16* pWhichId = aSvxUnoFontDescriptorWhichMap;
+ const sal_uInt16* pWhichId = aSvxUnoFontDescriptorWhichMap;
SfxItemState eTempItemState;
while( *pWhichId )
{