diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-01 17:04:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-02 12:34:53 +0200 |
commit | 9938799d65cfb864033e5e8a08efa750361f59d4 (patch) | |
tree | cfeab25c8f2db2cfea77b12ab6654c7e84202dd2 /sw/source/uibase/uiview/view2.cxx | |
parent | 44f023d5999ef32c5d83c1834549fa69e4ad1a34 (diff) |
set parent for insert image file dialog
Change-Id: Ibf2adff486947926b9624e762873fb8c46e59c71
Reviewed-on: https://gerrit.libreoffice.org/41813
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/uiview/view2.cxx')
-rw-r--r-- | sw/source/uibase/uiview/view2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index 27d6f29f4b0b..7703402e7995 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -286,7 +286,7 @@ bool SwView::InsertGraphicDlg( SfxRequest& rReq ) // when in HTML mode insert only as a link std::unique_ptr<FileDialogHelper> pFileDlg(new FileDialogHelper( ui::dialogs::TemplateDescription::FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE, - FileDialogFlags::Graphic )); + FileDialogFlags::Graphic, GetWindow())); pFileDlg->SetTitle(SwResId(STR_INSERT_GRAPHIC )); pFileDlg->SetContext( FileDialogHelper::SW_INSERT_GRAPHIC ); uno::Reference < XFilePicker3 > xFP = pFileDlg->GetFilePicker(); |