summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/frmpage.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-19 11:23:19 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:22 +0200
commita84c07509d9051084684987ad5ec47631afd50e5 (patch)
treeb9366fc0852114c933aed2dc2c1b9fb018bc7f20 /sw/source/uibase/inc/frmpage.hxx
parentfd68059586246f415a5fa6637fafad1ac9293e92 (diff)
loplugin:constantfunction: sw
Change-Id: Ife8ccbe4625d87d1e3314c75604cb3d947011680
Diffstat (limited to 'sw/source/uibase/inc/frmpage.hxx')
-rw-r--r--sw/source/uibase/inc/frmpage.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx
index e2eab71f9153..f4b55a91bd64 100644
--- a/sw/source/uibase/inc/frmpage.hxx
+++ b/sw/source/uibase/inc/frmpage.hxx
@@ -182,10 +182,12 @@ class SwFrmPage: public SfxTabPage
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
+ static const sal_uInt16 aPageRg[];
+
public:
static SfxTabPage *Create(vcl::Window *pParent, const SfxItemSet *rSet);
- static const sal_uInt16* GetRanges();
+ static const sal_uInt16* GetRanges() { return aPageRg; }
virtual bool FillItemSet(SfxItemSet *rSet) SAL_OVERRIDE;
virtual void Reset(const SfxItemSet *rSet) SAL_OVERRIDE;
@@ -305,10 +307,12 @@ class SwFrmAddPage : public SfxTabPage
SwFrmAddPage(vcl::Window *pParent, const SfxItemSet &rSet);
virtual ~SwFrmAddPage();
+ static const sal_uInt16 aAddPgRg[];
+
public:
static SfxTabPage* Create(vcl::Window *pParent, const SfxItemSet *rSet);
- static const sal_uInt16* GetRanges();
+ static const sal_uInt16* GetRanges() { return aAddPgRg; }
virtual bool FillItemSet(SfxItemSet *rSet) SAL_OVERRIDE;
virtual void Reset(const SfxItemSet *rSet) SAL_OVERRIDE;