summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/validate.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-11 10:35:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-11 10:39:03 +0200
commita92e973b6d0a9ad87fe014442e1678af2ce0c7d0 (patch)
treeb39139c7992a853cc5e4d836fc35cd45c01a3f6d /sc/source/ui/inc/validate.hxx
parent88f84eb1b0eebbb7e0a072f1e7001a9207ebbe9e (diff)
Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference" (apparently in a case where the passed argument was actually unused) Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
Diffstat (limited to 'sc/source/ui/inc/validate.hxx')
-rw-r--r--sc/source/ui/inc/validate.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index 183cf00a1e59..e496d779e771 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -183,7 +183,7 @@ public:
static const sal_uInt16* GetRanges();
virtual bool FillItemSet( SfxItemSet* rArgSet ) SAL_OVERRIDE;
- virtual void Reset( const SfxItemSet& rArgSet ) SAL_OVERRIDE;
+ virtual void Reset( const SfxItemSet* rArgSet ) SAL_OVERRIDE;
private:
void Init();
@@ -277,7 +277,7 @@ public:
static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet );
virtual bool FillItemSet ( SfxItemSet* rArgSet ) SAL_OVERRIDE;
- virtual void Reset ( const SfxItemSet& rArgSet ) SAL_OVERRIDE;
+ virtual void Reset ( const SfxItemSet* rArgSet ) SAL_OVERRIDE;
};
class ScTPValidationError : public SfxTabPage
@@ -302,7 +302,7 @@ public:
static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet );
virtual bool FillItemSet ( SfxItemSet* rArgSet ) SAL_OVERRIDE;
- virtual void Reset ( const SfxItemSet& rArgSet ) SAL_OVERRIDE;
+ virtual void Reset ( const SfxItemSet* rArgSet ) SAL_OVERRIDE;
};
#endif // INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX