diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-12-22 19:27:00 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-12-22 19:32:53 +0100 |
commit | 643de3b64ed4b71ab48a7f100c90c1c4d5f918cc (patch) | |
tree | 0e0709d96db67384ffc5423ae4aaed1e4e4974a7 /odk | |
parent | 78a7db0523f9611b003facd612411d3d61a0ab13 (diff) |
"*.*" is not "all files" (bnc#738021)
Not on any Unix, at least. I have no idea how deep entrenched is this
mistake all over the code, so I'll play safe and just fix the KDE4 fpicker
(GNOME/KDE3 seem to handle it fine), but at least in the UI show just
"All files" instead of "All files (*.*)").
Diffstat (limited to 'odk')
-rw-r--r-- | odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/FileDialog.xba | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/FileDialog.xba b/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/FileDialog.xba index 4a36d76217e2..67cd8252d1c7 100644 --- a/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/FileDialog.xba +++ b/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/FileDialog.xba @@ -38,10 +38,10 @@ Sub OpenFileDialog() oFilePicker = CreateUnoService( "com.sun.star.ui.dialogs.FilePicker" ) REM set filter - oFilePicker.AppendFilter( "All files (*.*)", "*.*" ) + oFilePicker.AppendFilter( "All files", "*.*" ) oFilePicker.AppendFilter( "StarOffice 6.0 Text Text Document", "*.sxw" ) oFilePicker.AppendFilter( "StarOffice 6.0 Spreadsheet", "*.sxc" ) - oFilePicker.SetCurrentFilter( "All files (*.*)" ) + oFilePicker.SetCurrentFilter( "All files" ) REM if no file URL is set, get path settings from configuration oTextFieldModel = oDialog.Model.TextField1 |