diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-20 10:44:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-23 09:42:23 +0200 |
commit | 9559cef61d0ca9159ef095fe28fc68121a8d30d3 (patch) | |
tree | eb7d1b00941f9d6b9e53b00ac8eabdf3aa10dcc1 /cui/source/inc/paragrph.hxx | |
parent | a46096884f5ab09d221694d40517628d85d25fc9 (diff) |
loplugin:constantfunction: cui
Change-Id: I4bbfbd526f78c4806d6fc85a4011cbc4ef3a25fa
Diffstat (limited to 'cui/source/inc/paragrph.hxx')
-rw-r--r-- | cui/source/inc/paragrph.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx index 4209e04339a6..461f56a0a49c 100644 --- a/cui/source/inc/paragrph.hxx +++ b/cui/source/inc/paragrph.hxx @@ -46,6 +46,7 @@ class SvxLineSpacingItem; class SvxStdParagraphTabPage: public SfxTabPage { using TabPage::DeactivatePage; + static const sal_uInt16 pStdRanges[]; private: SvxStdParagraphTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); @@ -100,7 +101,7 @@ public: DECL_LINK(ELRLoseFocusHdl, void *); static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rSet ); - static const sal_uInt16* GetRanges(); + static const sal_uInt16* GetRanges() { return pStdRanges; } virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE; @@ -123,6 +124,7 @@ public: class SvxParaAlignTabPage : public SfxTabPage { using TabPage::DeactivatePage; + static const sal_uInt16 pAlignRanges[]; // alignment RadioButton* m_pLeft; @@ -161,7 +163,7 @@ protected: public: static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rSet ); - static const sal_uInt16* GetRanges(); + static const sal_uInt16* GetRanges() { return pAlignRanges; } virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE; @@ -187,13 +189,14 @@ public: class SvxExtParagraphTabPage: public SfxTabPage { using TabPage::DeactivatePage; + static const sal_uInt16 pExtRanges[]; public: virtual ~SvxExtParagraphTabPage(); static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rSet ); - static const sal_uInt16* GetRanges(); + static const sal_uInt16* GetRanges() { return pExtRanges; } virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE; |