Kaydet (Commit) c330763e authored tarafından Caolán McNamara's avatar Caolán McNamara

crash in calc page dialog

Change-Id: I06072af58b0e302930a8d305f2b667843c42cd03
Reviewed-on: https://gerrit.libreoffice.org/61284
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 4969f4c0
...@@ -64,7 +64,7 @@ public: ...@@ -64,7 +64,7 @@ public:
static const sal_uInt16* GetRanges(); static const sal_uInt16* GetRanges();
private: private:
ScHeaderPage( vcl::Window* pParent, const SfxItemSet& rSet ); ScHeaderPage(TabPageParent pParent, const SfxItemSet& rSet);
}; };
class ScFooterPage : public ScHFPage class ScFooterPage : public ScHFPage
...@@ -75,7 +75,7 @@ public: ...@@ -75,7 +75,7 @@ public:
static const sal_uInt16* GetRanges(); static const sal_uInt16* GetRanges();
private: private:
ScFooterPage( vcl::Window* pParent, const SfxItemSet& rSet ); ScFooterPage(TabPageParent pParent, const SfxItemSet& rSet);
}; };
#endif // INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX #endif // INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX
......
...@@ -229,14 +229,14 @@ IMPL_LINK_NOARG(ScHFPage, HFEditHdl, void*, void) ...@@ -229,14 +229,14 @@ IMPL_LINK_NOARG(ScHFPage, HFEditHdl, void*, void)
// class ScHeaderPage // class ScHeaderPage
ScHeaderPage::ScHeaderPage( vcl::Window* pParent, const SfxItemSet& rSet ) ScHeaderPage::ScHeaderPage(TabPageParent pParent, const SfxItemSet& rSet)
: ScHFPage( pParent, rSet, SID_ATTR_PAGE_HEADERSET ) : ScHFPage(pParent, rSet, SID_ATTR_PAGE_HEADERSET)
{ {
} }
VclPtr<SfxTabPage> ScHeaderPage::Create( TabPageParent pParent, const SfxItemSet* rCoreSet ) VclPtr<SfxTabPage> ScHeaderPage::Create(TabPageParent pParent, const SfxItemSet* rCoreSet)
{ {
return VclPtr<ScHeaderPage>::Create( pParent.pParent, *rCoreSet ); return VclPtr<ScHeaderPage>::Create(pParent, *rCoreSet);
} }
const sal_uInt16* ScHeaderPage::GetRanges() const sal_uInt16* ScHeaderPage::GetRanges()
...@@ -246,14 +246,14 @@ const sal_uInt16* ScHeaderPage::GetRanges() ...@@ -246,14 +246,14 @@ const sal_uInt16* ScHeaderPage::GetRanges()
// class ScFooterPage // class ScFooterPage
ScFooterPage::ScFooterPage( vcl::Window* pParent, const SfxItemSet& rSet ) ScFooterPage::ScFooterPage(TabPageParent pParent, const SfxItemSet& rSet)
: ScHFPage( pParent, rSet, SID_ATTR_PAGE_FOOTERSET ) : ScHFPage( pParent, rSet, SID_ATTR_PAGE_FOOTERSET )
{ {
} }
VclPtr<SfxTabPage> ScFooterPage::Create( TabPageParent pParent, const SfxItemSet* rCoreSet ) VclPtr<SfxTabPage> ScFooterPage::Create(TabPageParent pParent, const SfxItemSet* rCoreSet)
{ {
return VclPtr<ScFooterPage>::Create( pParent.pParent, *rCoreSet ); return VclPtr<ScFooterPage>::Create(pParent, *rCoreSet);
} }
const sal_uInt16* ScFooterPage::GetRanges() const sal_uInt16* ScFooterPage::GetRanges()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment