summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-04-27 17:01:10 +0200
committerLuboš Luňák <l.lunak@collabora.com>2014-04-27 17:01:46 +0200
commit37c3a1c097567de818daec1e68ef132d57bcf17a (patch)
tree1199d05c7b35ae134b27da651ef6636e4f91d2e1 /svx
parente474c95cdec503bc2abb90619a7a3677d2942a63 (diff)
const
Change-Id: I0ce6965f191d1455bcc7a793025282e20b7433a5
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/hdft.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx
index 4c6953add537..0b8831bcc690 100644
--- a/svx/source/dialog/hdft.cxx
+++ b/svx/source/dialog/hdft.cxx
@@ -55,7 +55,7 @@ static const long MINBODY = 56; // 1mm in twips rounded
static const long DEF_DIST_WRITER = 500; // 5mm (Writer)
static const long DEF_DIST_CALC = 250; // 2.5mm (Calc)
-static sal_uInt16 pRanges[] =
+static const sal_uInt16 pRanges[] =
{
SID_ATTR_BRUSH, SID_ATTR_BRUSH,
SID_ATTR_BORDER_OUTER, SID_ATTR_BORDER_OUTER,
@@ -107,7 +107,7 @@ namespace svx {
// returns the Which values to the range
-sal_uInt16* SvxHeaderPage::GetRanges()
+const sal_uInt16* SvxHeaderPage::GetRanges()
{
return pRanges;
}
@@ -121,7 +121,7 @@ SfxTabPage* SvxHeaderPage::Create( Window* pParent, const SfxItemSet& rSet )
-sal_uInt16* SvxFooterPage::GetRanges()
+const sal_uInt16* SvxFooterPage::GetRanges()
{
return pRanges;
}