https://bugs.freedesktop.org/show_bug.cgi?id=44903
Bug #: 44903
Summary: Problem with multiselection in
Classification: Unclassified
Product: LibreOffice
Version: LibO 3.4.5 release
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: UNCONFIRMED
Severity: major
Priority: medium
Component: BASIC
AssignedTo: [email protected]
ReportedBy: [email protected]
Pb Description
1 - Open Calc, open The IDE. Write the folowing code
Sub GetAFileName
Dim oFileDialog as Object
Dim iAccept as Integer
Dim sPath as String
Dim InitPath as String
Dim RefControlName as String
Dim oUcb as object
oFileDialog = createUnoService("com.sun.star.ui.dialogs.FilePicker")
oFileDialog.SetMultiSelectionMode(True)
oUcb = createUnoService("com.sun.star.ucb.SimpleFileAccess")
If InitPath = "" Then
'InitPath = GetPathSettings("Work")
End If
If oUcb.Exists(InitPath) Then
oFileDialog.SetDisplayDirectory(InitPath)
End If
iAccept = oFileDialog.Execute()
If iAccept = 1 Then
a=Ubound(oFileDialog.Files)
Redim FichiersSources(Ubound(oFileDialog.Files))
FichiersSources=oFileDialog.Files
End If
oFileDialog.Dispose()
End Sub
2- With LibreOffice 3.3 it was OK, With the LibreOffice 3.4.5 OOO340m1
(Build:502), you can select several files but only the first files url is
memorised
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs