summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/dlg/custsdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/custsdlg.cxx')
-rw-r--r--sd/source/ui/dlg/custsdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx
index 1fce442ae152..8c6673011075 100644
--- a/sd/source/ui/dlg/custsdlg.cxx
+++ b/sd/source/ui/dlg/custsdlg.cxx
@@ -338,7 +338,7 @@ SdDefineCustomShowDlg::SdDefineCustomShowDlg( vcl::Window* pWindow,
}
else
{
- rpCustomShow = new SdCustomShow( &rDoc );
+ rpCustomShow = new SdCustomShow;
m_pEdtName->SetText( OUString( SdResId( STR_NEW_CUSTOMSHOW ) ) );
m_pEdtName->SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
rpCustomShow->SetName( m_pEdtName->GetText() );