summaryrefslogtreecommitdiff
path: root/cui/source/inc/backgrnd.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/backgrnd.hxx
parenta46096884f5ab09d221694d40517628d85d25fc9 (diff)
loplugin:constantfunction: cui
Change-Id: I4bbfbd526f78c4806d6fc85a4011cbc4ef3a25fa
Diffstat (limited to 'cui/source/inc/backgrnd.hxx')
-rw-r--r--cui/source/inc/backgrnd.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/inc/backgrnd.hxx b/cui/source/inc/backgrnd.hxx
index 9e34d66218ee..6c3298ef3633 100644
--- a/cui/source/inc/backgrnd.hxx
+++ b/cui/source/inc/backgrnd.hxx
@@ -45,9 +45,11 @@ class SvxBrushItem;
class SvxBackgroundTabPage : public SvxTabPage
{
using TabPage::DeactivatePage;
+ static const sal_uInt16 pPageRanges[];
public:
static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rAttrSet );
- static const sal_uInt16* GetRanges();
+ // returns the area of the which-values
+ static const sal_uInt16* GetRanges() { return pPageRanges; }
virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;