https://bugs.freedesktop.org/show_bug.cgi?id=43021
--- Comment #13 from Niklas Johansson <sleeping.pil...@gmail.com> --- Found a workaround, still think that it would be nice if it worked without the extra code just as it does on other platforms. If we explicitly initialize the dialog then we are able to use setDisplayDirectory. Sub testFilePickerDialog oFilePickerDlg = _ createUnoService("com.sun.star.ui.dialogs.FilePicker") Args = _ Array(com.sun.star.ui.dialogs.TemplateDescription.FILEOPEN_SIMPLE) oFilePickerDlg.initialize(Args) oFilePickerDlg.setDisplayDirectory(ConvertToURL("C:\")) oFilePickerDlg.execute() End Sub Just for reference some other ways to initialize the dialog. http://api.libreoffice.org/docs/common/ref/com/sun/star/ui/dialogs/TemplateDescription.html -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs