summaryrefslogtreecommitdiffstats
path: root/cui/source/inc/transfrm.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-20 10:44:16 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:23 +0200
commit9559cef61d0ca9159ef095fe28fc68121a8d30d3 (patch)
treeeb7d1b00941f9d6b9e53b00ac8eabdf3aa10dcc1 /cui/source/inc/transfrm.hxx
parentloplugin:constantfunction: sd (diff)
downloadcore-9559cef61d0ca9159ef095fe28fc68121a8d30d3.tar.gz
core-9559cef61d0ca9159ef095fe28fc68121a8d30d3.zip
loplugin:constantfunction: cui
Change-Id: I4bbfbd526f78c4806d6fc85a4011cbc4ef3a25fa
Diffstat (limited to 'cui/source/inc/transfrm.hxx')
-rw-r--r--cui/source/inc/transfrm.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx
index f4f692593fe1..5272a41bbb5a 100644
--- a/cui/source/inc/transfrm.hxx
+++ b/cui/source/inc/transfrm.hxx
@@ -78,6 +78,7 @@ class SvxPositionSizeTabPage : public SvxTabPage
{
using TabPage::ActivatePage;
using TabPage::DeactivatePage;
+ static const sal_uInt16 pPosSizeRanges[];
private:
// position
@@ -148,7 +149,7 @@ public:
SvxPositionSizeTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs );
static SfxTabPage* Create( vcl::Window*, const SfxItemSet* );
- static const sal_uInt16* GetRanges();
+ static const sal_uInt16* GetRanges() { return pPosSizeRanges; }
virtual bool FillItemSet( SfxItemSet* ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet * ) SAL_OVERRIDE;
@@ -178,6 +179,7 @@ class SvxAngleTabPage : public SvxTabPage
{
using TabPage::ActivatePage;
using TabPage::DeactivatePage;
+ static const sal_uInt16 pAngleRanges[];
private:
VclFrame* m_pFlPosition;
@@ -203,7 +205,7 @@ public:
SvxAngleTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs );
static SfxTabPage* Create( vcl::Window*, const SfxItemSet* );
- static const sal_uInt16* GetRanges();
+ static const sal_uInt16* GetRanges() { return pAngleRanges; }
virtual bool FillItemSet( SfxItemSet* ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet * ) SAL_OVERRIDE;
@@ -226,6 +228,7 @@ class SvxSlantTabPage : public SvxTabPage
{
using TabPage::ActivatePage;
using TabPage::DeactivatePage;
+ static const sal_uInt16 pSlantRanges[];
private:
VclFrame* m_pFlRadius;
@@ -247,7 +250,7 @@ public:
SvxSlantTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs );
static SfxTabPage* Create( vcl::Window*, const SfxItemSet* );
- static const sal_uInt16* GetRanges();
+ static const sal_uInt16* GetRanges() { return pSlantRanges; }
virtual bool FillItemSet( SfxItemSet* ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet * ) SAL_OVERRIDE;