summaryrefslogtreecommitdiff
path: root/include/svx
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 /include/svx
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 'include/svx')
-rw-r--r--include/svx/hdft.hxx2
-rw-r--r--include/svx/optgrid.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx
index 632b64c1d779..5333af98a717 100644
--- a/include/svx/hdft.hxx
+++ b/include/svx/hdft.hxx
@@ -45,7 +45,7 @@ class SVX_DLLPUBLIC SvxHFPage: public SfxTabPage
public:
virtual bool FillItemSet( SfxItemSet* rOutSet ) SAL_OVERRIDE;
- virtual void Reset( const SfxItemSet& rSet ) SAL_OVERRIDE;
+ virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
virtual ~SvxHFPage();
diff --git a/include/svx/optgrid.hxx b/include/svx/optgrid.hxx
index aad434ba93cb..0d15690f0ee9 100644
--- a/include/svx/optgrid.hxx
+++ b/include/svx/optgrid.hxx
@@ -105,7 +105,7 @@ public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
- virtual void Reset( const SfxItemSet& rSet ) SAL_OVERRIDE;
+ virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
virtual void ActivatePage( const SfxItemSet& rSet ) SAL_OVERRIDE;
virtual int DeactivatePage( SfxItemSet* pSet ) SAL_OVERRIDE;