summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-12-12 10:07:24 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-12-12 10:17:02 +0100
commitea5589dc61f12f949a2fe1a8dae02e6290bf4294 (patch)
treec1d58a118e6653b57bf6756712b61c7348ee8833 /sfx2/source/appl
parent95b42b099474c1f2b527c417a15a6b1bc08f7a9a (diff)
Template manager: dialog has no parent to show 'X' button
Change-Id: I1d7806a125fb34000f588f0936b48dd7ce411356
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/appopen.cxx2
1 files changed, 1 insertions, 1 deletions
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 )
{