X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorSound.cpp;h=6e77c686ecb8d61b0eeefff83e9182c781be6a28;hb=1e038086c27e3da18da6ebfa1bb3d3acf5d0f0d7;hp=cad57b3180aa7b9a6140357bd0e05c186cac6f07;hpb=e93aa9af2a9f8eaee9dcaa793c049e305b90081e;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditorSound.cpp b/source/contacteditor/frmContactEditorSound.cpp index cad57b3..6e77c68 100644 --- a/source/contacteditor/frmContactEditorSound.cpp +++ b/source/contacteditor/frmContactEditorSound.cpp @@ -18,14 +18,6 @@ #include "frmContactEditorSound.h" -#include -#include -#include - -#include "../common/textprocessing.h" -#include "../common/base64.h" -#include "../common/mime.h" - frmContactEditorSound::frmContactEditorSound( wxWindow* parent ) : frmContactEditorSoundADT( parent ) @@ -78,11 +70,9 @@ void frmContactEditorSound::ProcessData( wxCommandEvent& event ) if (AudioFile.Open(wxSAudioFilename, wxFile::read)){ - ssize_t flen; len = AudioFile.Length(); unsigned char* AudioFileData = new unsigned char[len]; - flen = AudioFile.Read(AudioFileData, (size_t)len); wxSAudioMIMEType = GetMIME(wxSAudioFilename);