diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-06 15:51:21 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-06-07 08:41:53 +0000 |
commit | 28fca2e3132e3b66b337c53df58233615c48f0fa (patch) | |
tree | 5a9b75f19f6602103fef7944d88feae089060d10 /sd | |
parent | 837c1e2e9cc6886e74e4f32d6296d07daf23a2e1 (diff) |
Resolves: Template selection dialog has wrong parent
Change-Id: I500e78c0256cf6b7de03a537190e842f5e878e6e
Reviewed-on: https://gerrit.libreoffice.org/25959
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/app/sdmod1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx index 9fe8646f35e5..86285a436289 100644 --- a/sd/source/ui/app/sdmod1.cxx +++ b/sd/source/ui/app/sdmod1.cxx @@ -556,7 +556,7 @@ SfxFrame* SdModule::ExecuteNewDocument( SfxRequest& rReq ) pFrame = CreateEmptyDocument( xTargetFrame ); //Launch TemplateSelectionDialog - ScopedVclPtrInstance< SfxTemplateSelectionDlg > aTemplDlg; + ScopedVclPtrInstance< SfxTemplateSelectionDlg > aTemplDlg( SfxGetpApp()->GetTopWindow()); aTemplDlg->Execute(); //check to disable the dialog |