summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/page.cxx
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 /cui/source/tabpages/page.cxx
parente474c95cdec503bc2abb90619a7a3677d2942a63 (diff)
const
Change-Id: I0ce6965f191d1455bcc7a793025282e20b7433a5
Diffstat (limited to 'cui/source/tabpages/page.cxx')
-rw-r--r--cui/source/tabpages/page.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 7484ea02c8e3..740a905eb441 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -63,7 +63,7 @@ static const long MINBODY = 284; // 0,5 cm rounded up in twips
//static const long PRINT_OFFSET = 17; // 0,03 cm rounded down in twips
static const long PRINT_OFFSET = 0; // why was this ever set to 17 ? it led to wrong right and bottom margins.
-static sal_uInt16 pRanges[] =
+static const sal_uInt16 pRanges[] =
{
SID_ATTR_BORDER_OUTER,
SID_ATTR_BORDER_SHADOW,
@@ -75,7 +75,7 @@ static sal_uInt16 pRanges[] =
};
// ------- Mapping page layout ------------------------------------------
-sal_uInt16 aArr[] =
+const sal_uInt16 aArr[] =
{
SVX_PAGE_ALL,
SVX_PAGE_MIRROR,
@@ -158,7 +158,7 @@ struct SvxPage_Impl
// class SvxPageDescPage --------------------------------------------------
// returns the range of the Which values
-sal_uInt16* SvxPageDescPage::GetRanges()
+const sal_uInt16* SvxPageDescPage::GetRanges()
{
return pRanges;
}