summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/envfmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/envelp/envfmt.cxx')
-rw-r--r--sw/source/ui/envelp/envfmt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx
index 56c2ddb67984..c8b5cfc9e3f6 100644
--- a/sw/source/ui/envelp/envfmt.cxx
+++ b/sw/source/ui/envelp/envfmt.cxx
@@ -458,9 +458,9 @@ void SwEnvFormatPage::SetMinMax()
m_pSizeHeightField->Reformat();
}
-VclPtr<SfxTabPage> SwEnvFormatPage::Create(vcl::Window* pParent, const SfxItemSet* rSet)
+VclPtr<SfxTabPage> SwEnvFormatPage::Create(TabPageParent pParent, const SfxItemSet* rSet)
{
- return VclPtr<SwEnvFormatPage>::Create(pParent, *rSet);
+ return VclPtr<SwEnvFormatPage>::Create(pParent.pParent, *rSet);
}
void SwEnvFormatPage::ActivatePage(const SfxItemSet& rSet)