[Libreoffice-commits] core.git: basctl/source
Caolán McNamara
caolanm at redhat.com
Fri Sep 1 22:36:58 UTC 2017
basctl/source/basicide/moduldl2.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit dbdc2ffb6fa02be401f271e89990aa2915ef4609
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Sep 1 16:40:20 2017 +0100
set parent for import macro lib dialog
Change-Id: I8c2174a6acee7aed8dca6d4674538f42cfe28ae6
Reviewed-on: https://gerrit.libreoffice.org/41810
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/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index f47aeed1acaf..e165cabe2c1f 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -732,7 +732,9 @@ void LibPage::InsertLib()
{
Reference< uno::XComponentContext > xContext( ::comphelper::getProcessComponentContext() );
// file open dialog
- Reference < XFilePicker3 > xFP = FilePicker::createWithMode(xContext, TemplateDescription::FILEOPEN_SIMPLE);
+ sfx2::FileDialogHelper aDlg(ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE, FileDialogFlags::NONE, pTabDlg);
+ Reference <XFilePicker3> xFP = aDlg.GetFilePicker();
+
xFP->setTitle(IDEResId(RID_STR_APPENDLIBS));
// filter
More information about the Libreoffice-commits
mailing list