summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/validate.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-19 15:27:30 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:23 +0200
commit468ff4b3b6e20cab284b5f6dbd7c8aa5a1ba1264 (patch)
treec855aa8d55122a03c40815f24c6dcb64a1d4cac2 /sc/source/ui/inc/validate.hxx
parenta84c07509d9051084684987ad5ec47631afd50e5 (diff)
loplugin:constantfunction: sc
Change-Id: Id3268114041575d7dbb84e8d963ead566c78b928
Diffstat (limited to 'sc/source/ui/inc/validate.hxx')
-rw-r--r--sc/source/ui/inc/validate.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index e00fa143d8b0..ebc6d92ffa37 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -82,11 +82,12 @@ class ScValidationDlg;
/** The tab page "Criteria" from the Validation dialog. */
class ScTPValidationValue : public ScRefHandlerCaller, public SfxTabPage
{
+ static const sal_uInt16 pValueRanges[];
public:
explicit ScTPValidationValue( vcl::Window* pParent, const SfxItemSet& rArgSet );
static SfxTabPage* Create( vcl::Window* pParent, const SfxItemSet* rArgSet );
- static const sal_uInt16* GetRanges();
+ static const sal_uInt16* GetRanges() { return pValueRanges; }
virtual bool FillItemSet( SfxItemSet* rArgSet ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet* rArgSet ) SAL_OVERRIDE;