diff options
Diffstat (limited to 'sc/source/ui/optdlg/tpview.cxx')
-rw-r--r-- | sc/source/ui/optdlg/tpview.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx index a7151bded5e7..cf7a953795ed 100644 --- a/sc/source/ui/optdlg/tpview.cxx +++ b/sc/source/ui/optdlg/tpview.cxx @@ -126,10 +126,10 @@ void ScTpContentOptions::dispose() SfxTabPage::dispose(); } -VclPtr<SfxTabPage> ScTpContentOptions::Create( vcl::Window* pParent, +VclPtr<SfxTabPage> ScTpContentOptions::Create( TabPageParent pParent, const SfxItemSet* rCoreSet ) { - return VclPtr<ScTpContentOptions>::Create(pParent, *rCoreSet); + return VclPtr<ScTpContentOptions>::Create(pParent.pParent, *rCoreSet); } bool ScTpContentOptions::FillItemSet( SfxItemSet* rCoreSet ) @@ -409,10 +409,10 @@ void ScTpLayoutOptions::dispose() } -VclPtr<SfxTabPage> ScTpLayoutOptions::Create( vcl::Window* pParent, +VclPtr<SfxTabPage> ScTpLayoutOptions::Create( TabPageParent pParent, const SfxItemSet* rCoreSet ) { - VclPtrInstance<ScTpLayoutOptions> pNew( pParent, *rCoreSet ); + VclPtrInstance<ScTpLayoutOptions> pNew( pParent.pParent, *rCoreSet ); ScDocShell* pDocSh = dynamic_cast< ScDocShell *>( SfxObjectShell::Current() ); if(pDocSh!=nullptr) |