diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-04-27 17:01:10 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-04-27 17:01:46 +0200 |
commit | 37c3a1c097567de818daec1e68ef132d57bcf17a (patch) | |
tree | 1199d05c7b35ae134b27da651ef6636e4f91d2e1 /cui/source/options | |
parent | e474c95cdec503bc2abb90619a7a3677d2942a63 (diff) |
const
Change-Id: I0ce6965f191d1455bcc7a793025282e20b7433a5
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optasian.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/optlingu.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx index 5316e0a61a3e..7269d6892231 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -401,10 +401,10 @@ IMPL_LINK(SvxAsianLayoutPage, ModifyHdl, Edit*, pEdit) return 0; } -sal_uInt16* SvxAsianLayoutPage::GetRanges() +const sal_uInt16* SvxAsianLayoutPage::GetRanges() { //no items are used - static sal_uInt16 pAsianLayoutRanges[] = { 0 }; + static const sal_uInt16 pAsianLayoutRanges[] = { 0 }; return pAsianLayoutRanges; } diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 6a279b8e64d2..a46c2eeec545 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -152,7 +152,7 @@ static void lcl_OpenURL( const OUString& _sURL ) } } -static sal_uInt16 pRanges[] = +static const sal_uInt16 pRanges[] = { SID_ATTR_SPELL, SID_ATTR_SPELL, @@ -1139,7 +1139,7 @@ SvxLinguTabPage::~SvxLinguTabPage() // don't throw away overloaded -sal_uInt16* SvxLinguTabPage::GetRanges() +const sal_uInt16* SvxLinguTabPage::GetRanges() { //TL??? return pRanges; |