From feb386dc49573ae1a59d2cd1c7014a5376e8d6e7 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Wed, 27 Jun 2007 14:40:41 +0000 Subject: [PATCH] INTEGRATION: CWS impress122 (1.16.50); FILE MERGED 2007/06/18 13:04:46 cl 1.16.50.1: #i51636# adding All Files --- sd/source/ui/dlg/filedlg.cxx | 12 +++++++----- 1 file 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