summaryrefslogtreecommitdiff
path: root/cui/source/inc/connect.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/connect.hxx
parenta46096884f5ab09d221694d40517628d85d25fc9 (diff)
loplugin:constantfunction: cui
Change-Id: I4bbfbd526f78c4806d6fc85a4011cbc4ef3a25fa
Diffstat (limited to 'cui/source/inc/connect.hxx')
-rw-r--r--cui/source/inc/connect.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/inc/connect.hxx b/cui/source/inc/connect.hxx
index e66fcd65f9f2..a85dabdb8a5f 100644
--- a/cui/source/inc/connect.hxx
+++ b/cui/source/inc/connect.hxx
@@ -33,6 +33,7 @@ class SdrView;
class SvxConnectionPage : public SfxTabPage
{
private:
+ static const sal_uInt16 pRanges[];
ListBox* m_pLbType;
FixedText* m_pFtLine1;
@@ -64,7 +65,7 @@ public:
virtual ~SvxConnectionPage();
static SfxTabPage* Create( vcl::Window*, const SfxItemSet* );
- static const sal_uInt16* GetRanges();
+ static const sal_uInt16* GetRanges() { return pRanges; }
virtual bool FillItemSet( SfxItemSet* ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet * ) SAL_OVERRIDE;