From 37c3a1c097567de818daec1e68ef132d57bcf17a Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sun, 27 Apr 2014 17:01:10 +0200 Subject: const Change-Id: I0ce6965f191d1455bcc7a793025282e20b7433a5 --- sc/source/ui/attrdlg/tabpages.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/attrdlg') 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; } -- cgit