diff options
-rw-r--r-- | sfx2/inc/templatedlg.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx index c0d1284249c5..ae2cb1697289 100644 --- a/sfx2/inc/templatedlg.hxx +++ b/sfx2/inc/templatedlg.hxx @@ -37,7 +37,7 @@ class SfxTemplateManagerDlg : public ModelessDialog { public: - SfxTemplateManagerDlg (Window *parent = NULL); + SfxTemplateManagerDlg (Window *parent = DIALOG_NO_PARENT); ~SfxTemplateManagerDlg (); diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index afddf87e28fb..9a295b726c38 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -566,7 +566,7 @@ void SfxApplication::NewDocExec_Impl( SfxRequest& rReq ) sal_Bool bNewWin = sal_False; Window* pTopWin = GetTopWindow(); - SfxTemplateManagerDlg aTemplDlg(NULL); + SfxTemplateManagerDlg aTemplDlg; int nRet = aTemplDlg.Execute(); if ( nRet == RET_OK ) { diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 722c00fb42b4..7d313e7867de 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -863,7 +863,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) case SID_DOCTEMPLATE: { // save as document templates - SfxTemplateManagerDlg aDlg(NULL); + SfxTemplateManagerDlg aDlg; aDlg.setDocumentModel(GetModel()); aDlg.setSaveMode(true); aDlg.Execute(); |