summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-12-22 19:27:00 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-12-22 19:32:53 +0100
commit643de3b64ed4b71ab48a7f100c90c1c4d5f918cc (patch)
tree0e0709d96db67384ffc5423ae4aaed1e4e4974a7 /odk
parent78a7db0523f9611b003facd612411d3d61a0ab13 (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.xba4
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( &quot;com.sun.star.ui.dialogs.FilePicker&quot; )
REM set filter
- oFilePicker.AppendFilter( &quot;All files (*.*)&quot;, &quot;*.*&quot; )
+ oFilePicker.AppendFilter( &quot;All files&quot;, &quot;*.*&quot; )
oFilePicker.AppendFilter( &quot;StarOffice 6.0 Text Text Document&quot;, &quot;*.sxw&quot; )
oFilePicker.AppendFilter( &quot;StarOffice 6.0 Spreadsheet&quot;, &quot;*.sxc&quot; )
- oFilePicker.SetCurrentFilter( &quot;All files (*.*)&quot; )
+ oFilePicker.SetCurrentFilter( &quot;All files&quot; )
REM if no file URL is set, get path settings from configuration
oTextFieldModel = oDialog.Model.TextField1