1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +02:00

More use of std:: style members of wxString...

... replacing:

Length => length
Len => length
This commit is contained in:
Paul Licameli
2019-03-06 14:53:39 -05:00
parent 2db49dc1f0
commit c68e336247
38 changed files with 100 additions and 100 deletions

View File

@@ -534,7 +534,7 @@ ProgressResult FLACImportFileHandle::Import(TrackFactory *trackFactory,
wxString value = mFile->mComments[c].AfterFirst(wxT('='));
if (name.Upper() == wxT("DATE") && !tags->HasTag(TAG_YEAR)) {
long val;
if (value.Length() == 4 && value.ToLong(&val)) {
if (value.length() == 4 && value.ToLong(&val)) {
name = TAG_YEAR;
}
}

View File

@@ -27,7 +27,7 @@
bool ImportMIDI(const wxString &fName, NoteTrack * dest)
{
if (fName.Length() <= 4){
if (fName.length() <= 4){
AudacityMessageBox( wxString::Format(
_("Could not open file %s: Filename too short."), fName
) );

View File

@@ -370,7 +370,7 @@ ProgressResult OggImportFileHandle::Import(
wxString value = comment.AfterFirst(wxT('='));
if (name.Upper() == wxT("DATE") && !tags->HasTag(TAG_YEAR)) {
long val;
if (value.Length() == 4 && value.ToLong(&val)) {
if (value.length() == 4 && value.ToLong(&val)) {
name = TAG_YEAR;
}
}