summaryrefslogtreecommitdiff
path: root/include/svx/hdft.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-04 11:17:25 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 10:45:01 +0200
commitc97ccd3b3635a53e6bdc07b83c9bf8666b66000a (patch)
treed52bb0c6d93c0913375fdbd8eb6d36bbae3abbfe /include/svx/hdft.hxx
parent2ebd79b3d214c62c0997606115ebc50700d6a760 (diff)
loplugin:constantfunction: svx
Change-Id: Ib8c3599d245fbc371d00f28d812138b26c3f706d
Diffstat (limited to 'include/svx/hdft.hxx')
-rw-r--r--include/svx/hdft.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx
index d7f15be412e2..ad0a5cc8cccd 100644
--- a/include/svx/hdft.hxx
+++ b/include/svx/hdft.hxx
@@ -62,6 +62,8 @@ public:
void EnableDynamicSpacing();
protected:
+ static const sal_uInt16 pRanges[];
+
virtual void ActivatePage( const SfxItemSet& rSet ) SAL_OVERRIDE;
virtual int DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE;
@@ -111,7 +113,8 @@ class SVX_DLLPUBLIC SvxHeaderPage : public SvxHFPage
{
public:
static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rSet );
- static const sal_uInt16* GetRanges();
+ // returns the Which values to the range
+ static const sal_uInt16* GetRanges() { return pRanges; }
private:
SvxHeaderPage( vcl::Window* pParent, const SfxItemSet& rSet );
@@ -123,7 +126,7 @@ class SVX_DLLPUBLIC SvxFooterPage : public SvxHFPage
{
public:
static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rSet );
- static const sal_uInt16* GetRanges();
+ static const sal_uInt16* GetRanges() { return pRanges; }
private:
SVX_DLLPRIVATE SvxFooterPage( vcl::Window* pParent, const SfxItemSet& rSet );