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>
This commit is contained in:
parent
f35da2254c
commit
dbdc2ffb6f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue