summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/pview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/pview.cxx')
-rw-r--r--sw/source/uibase/uiview/pview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index dbcef1d013f0..cd2248684316 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -1706,10 +1706,10 @@ bool SwPagePreview::HasPrintOptionsPage() const
return true;
}
-VclPtr<SfxTabPage> SwPagePreview::CreatePrintOptionsPage( vcl::Window *pParent,
+VclPtr<SfxTabPage> SwPagePreview::CreatePrintOptionsPage( TabPageParent pParent,
const SfxItemSet &rOptions )
{
- return ::CreatePrintOptionsPage( pParent, rOptions, !m_bNormalPrint );
+ return ::CreatePrintOptionsPage( TabPageParent(pParent.pParent), rOptions, !m_bNormalPrint );
}
void SwPagePreviewWin::SetViewShell( SwViewShell* pShell )