[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Sat Sep 2 10:35:15 UTC 2017
sw/source/uibase/uiview/view2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9938799d65cfb864033e5e8a08efa750361f59d4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Sep 1 17:04:05 2017 +0100
set parent for insert image file dialog
Change-Id: Ibf2adff486947926b9624e762873fb8c46e59c71
Reviewed-on: https://gerrit.libreoffice.org/41813
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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();
More information about the Libreoffice-commits
mailing list