summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/frmpage.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-11 14:34:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-11 14:39:04 +0200
commitbb761be472ea9a590837dc6c1ca295387ac4c0b7 (patch)
tree178b4187effe2a05f3d77660ad83eea97144a287 /sw/source/uibase/inc/frmpage.hxx
parent4d120b6ab181f530d3fedc963b1c6ec777f2608a (diff)
Change SfxTabPage ctor SfxItemSet param from ref to pointer
...and also corresponding param of CreateTabPage function type and corresponding Craete functions. There were some call sites that passed undefined "null pointer references" and SfxTabPage internally uses a pointer member pSet that is checked for null anyway. Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
Diffstat (limited to 'sw/source/uibase/inc/frmpage.hxx')
-rw-r--r--sw/source/uibase/inc/frmpage.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx
index 5f8941556cf6..d7d27ebb2178 100644
--- a/sw/source/uibase/inc/frmpage.hxx
+++ b/sw/source/uibase/inc/frmpage.hxx
@@ -185,7 +185,7 @@ class SwFrmPage: public SfxTabPage
public:
- static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
+ static SfxTabPage *Create(Window *pParent, const SfxItemSet *rSet);
static const sal_uInt16* GetRanges();
virtual bool FillItemSet(SfxItemSet *rSet) SAL_OVERRIDE;
@@ -232,7 +232,7 @@ class SwGrfExtPage: public SfxTabPage
public:
- static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
+ static SfxTabPage *Create(Window *pParent, const SfxItemSet *rSet);
virtual bool FillItemSet(SfxItemSet *rSet) SAL_OVERRIDE;
virtual void Reset(const SfxItemSet *rSet) SAL_OVERRIDE;
@@ -261,7 +261,7 @@ class SwFrmURLPage : public SfxTabPage
public:
- static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
+ static SfxTabPage *Create(Window *pParent, const SfxItemSet *rSet);
virtual bool FillItemSet(SfxItemSet *rSet) SAL_OVERRIDE;
virtual void Reset(const SfxItemSet *rSet) SAL_OVERRIDE;
@@ -308,7 +308,7 @@ class SwFrmAddPage : public SfxTabPage
public:
- static SfxTabPage* Create(Window *pParent, const SfxItemSet &rSet);
+ static SfxTabPage* Create(Window *pParent, const SfxItemSet *rSet);
static const sal_uInt16* GetRanges();
virtual bool FillItemSet(SfxItemSet *rSet) SAL_OVERRIDE;