summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/filedlg.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-06-27 14:40:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-06-27 14:40:41 +0000
commitfeb386dc49573ae1a59d2cd1c7014a5376e8d6e7 (patch)
treef890cf80f98773c42d370bee94ade147d5972dac /sd/source/ui/dlg/filedlg.cxx
parent5ffc4921df96e74c7c62b551487a53d02cb63a89 (diff)
INTEGRATION: CWS impress122 (1.16.50); FILE MERGED
2007/06/18 13:04:46 cl 1.16.50.1: #i51636# adding All Files
Diffstat (limited to 'sd/source/ui/dlg/filedlg.cxx')
-rw-r--r--sd/source/ui/dlg/filedlg.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx
index 523f19cdbf33..c5844c9383e9 100644
--- a/sd/source/ui/dlg/filedlg.cxx
+++ b/sd/source/ui/dlg/filedlg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: filedlg.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: vg $ $Date: 2007-04-13 08:49:46 $
+ * last change: $Author: hr $ $Date: 2007-06-27 15:40:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -468,9 +468,12 @@ SdOpenSoundFileDialog::SdOpenSoundFileDialog() :
new SdFileDialog_Imp(
css::ui::dialogs::TemplateDescription::FILEOPEN_PLAY, sal_False ) )
{
+ String aDescr;
+ aDescr = String(SdResId(STR_ALL_FILES));
+ mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.*" ) ) );
+
// setup filter
#if defined UNX
- String aDescr;
aDescr = String(SdResId(STR_AU_FILE));
mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.au;*.snd" ) ) );
aDescr = String(SdResId(STR_VOC_FILE));
@@ -482,9 +485,8 @@ SdOpenSoundFileDialog::SdOpenSoundFileDialog() :
aDescr = String(SdResId(STR_SVX_FILE));
mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.svx" ) ) );
#else
- String aDescr;
aDescr = String(SdResId(STR_WAV_FILE));
- mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.wav" ) ) );
+ mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.wav;*.mp3;*.ogg" ) ) );
aDescr = String(SdResId(STR_MIDI_FILE));
mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.mid" ) ) );
#endif