summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/textattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/textattr.cxx')
-rw-r--r--cui/source/tabpages/textattr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx
index 3c3121bf7e87..1fe363be96ca 100644
--- a/cui/source/tabpages/textattr.cxx
+++ b/cui/source/tabpages/textattr.cxx
@@ -528,10 +528,10 @@ void SvxTextAttrPage::Construct()
m_pTsbWordWrapText->Show( bWordWrapTextEnabled );
}
-VclPtr<SfxTabPage> SvxTextAttrPage::Create( vcl::Window* pWindow,
+VclPtr<SfxTabPage> SvxTextAttrPage::Create( TabPageParent pWindow,
const SfxItemSet* rAttrs )
{
- return VclPtr<SvxTextAttrPage>::Create( pWindow, *rAttrs );
+ return VclPtr<SvxTextAttrPage>::Create( pWindow.pParent, *rAttrs );
}
/** Check whether we have to uncheck the "Full width" check box.