diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-01 16:40:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-02 00:36:37 +0200 |
commit | dbdc2ffb6fa02be401f271e89990aa2915ef4609 (patch) | |
tree | 3a742721260e18a3bf1a6a2aa8376ee34a012fc9 /basctl | |
parent | set parent dialog for file dialog (diff) | |
download | core-dbdc2ffb6fa02be401f271e89990aa2915ef4609.tar.gz core-dbdc2ffb6fa02be401f271e89990aa2915ef4609.zip |
set parent for import macro lib dialog
Change-Id: I8c2174a6acee7aed8dca6d4674538f42cfe28ae6
Reviewed-on: https://gerrit.libreoffice.org/41810
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 'basctl')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 |