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 /sw/source/ui/misc | |
parent | e474c95cdec503bc2abb90619a7a3677d2942a63 (diff) |
const
Change-Id: I0ce6965f191d1455bcc7a793025282e20b7433a5
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r-- | sw/source/ui/misc/pgfnote.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/misc/pggrid.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/misc/pgfnote.cxx b/sw/source/ui/misc/pgfnote.cxx index 711a0d469b3c..ec6a4f0275d3 100644 --- a/sw/source/ui/misc/pgfnote.cxx +++ b/sw/source/ui/misc/pgfnote.cxx @@ -43,7 +43,7 @@ using namespace ::com::sun::star; -static sal_uInt16 aPageRg[] = { +static const sal_uInt16 aPageRg[] = { FN_PARAM_FTN_INFO, FN_PARAM_FTN_INFO, 0 }; @@ -362,7 +362,7 @@ int SwFootNotePage::DeactivatePage( SfxItemSet* _pSet) return sal_True; } -sal_uInt16* SwFootNotePage::GetRanges() +const sal_uInt16* SwFootNotePage::GetRanges() { return aPageRg; } diff --git a/sw/source/ui/misc/pggrid.cxx b/sw/source/ui/misc/pggrid.cxx index c83e4201ffad..1060896e61b1 100644 --- a/sw/source/ui/misc/pggrid.cxx +++ b/sw/source/ui/misc/pggrid.cxx @@ -353,9 +353,9 @@ void SwTextGridPage::SetLinesOrCharsRanges(FixedText & rField, const sal_Int32 n rField.SetText( aFieldStr ); } -sal_uInt16* SwTextGridPage::GetRanges() +const sal_uInt16* SwTextGridPage::GetRanges() { - static sal_uInt16 aPageRg[] = { + static const sal_uInt16 aPageRg[] = { RES_TEXTGRID, RES_TEXTGRID, 0}; return aPageRg; |