summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg
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 /sc/source/ui/attrdlg
parente474c95cdec503bc2abb90619a7a3677d2942a63 (diff)
const
Change-Id: I0ce6965f191d1455bcc7a793025282e20b7433a5
Diffstat (limited to 'sc/source/ui/attrdlg')
-rw-r--r--sc/source/ui/attrdlg/tabpages.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx
index 07a137bfc639..71a30d40315c 100644
--- a/sc/source/ui/attrdlg/tabpages.cxx
+++ b/sc/source/ui/attrdlg/tabpages.cxx
@@ -31,7 +31,7 @@
// STATIC DATA -----------------------------------------------------------
-static sal_uInt16 pProtectionRanges[] =
+static const sal_uInt16 pProtectionRanges[] =
{
SID_SCATTR_PROTECTION,
SID_SCATTR_PROTECTION,
@@ -63,7 +63,7 @@ ScTabPageProtection::ScTabPageProtection(Window* pParent, const SfxItemSet& rCor
m_pBtnHidePrint->SetClickHdl( LINK( this, ScTabPageProtection, ButtonClickHdl ) );
}
-sal_uInt16* ScTabPageProtection::GetRanges()
+const sal_uInt16* ScTabPageProtection::GetRanges()
{
return pProtectionRanges;
}