INTEGRATION: CWS impress122 (1.16.50); FILE MERGED

2007/06/18 13:04:46 cl 1.16.50.1: #i51636# adding All Files
This commit is contained in:
Jens-Heiner Rechtien 2007-06-27 14:40:41 +00:00
parent 5ffc4921df
commit feb386dc49

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: filedlg.cxx,v $ * $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 Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -468,9 +468,12 @@ SdOpenSoundFileDialog::SdOpenSoundFileDialog() :
new SdFileDialog_Imp( new SdFileDialog_Imp(
css::ui::dialogs::TemplateDescription::FILEOPEN_PLAY, sal_False ) ) 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 // setup filter
#if defined UNX #if defined UNX
String aDescr;
aDescr = String(SdResId(STR_AU_FILE)); aDescr = String(SdResId(STR_AU_FILE));
mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.au;*.snd" ) ) ); mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.au;*.snd" ) ) );
aDescr = String(SdResId(STR_VOC_FILE)); aDescr = String(SdResId(STR_VOC_FILE));
@ -482,9 +485,8 @@ SdOpenSoundFileDialog::SdOpenSoundFileDialog() :
aDescr = String(SdResId(STR_SVX_FILE)); aDescr = String(SdResId(STR_SVX_FILE));
mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.svx" ) ) ); mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.svx" ) ) );
#else #else
String aDescr;
aDescr = String(SdResId(STR_WAV_FILE)); 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)); aDescr = String(SdResId(STR_MIDI_FILE));
mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.mid" ) ) ); mpImpl->AddFilter( aDescr, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.mid" ) ) );
#endif #endif