mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 14:16:28 +01:00
Sweep unnecessary wxString copies: export
This commit is contained in:
@@ -54,7 +54,7 @@ private:
|
||||
* labels that define them (true), or just numbered (false).
|
||||
* @param prefix The string used to prefix the file number if files are being
|
||||
* numbered rather than named */
|
||||
int ExportMultipleByLabel(bool byName, wxString prefix, bool addNumber);
|
||||
int ExportMultipleByLabel(bool byName, const wxString &prefix, bool addNumber);
|
||||
|
||||
/** \brief Export each track in the project to a separate file
|
||||
*
|
||||
@@ -62,7 +62,7 @@ private:
|
||||
* (true), or just numbered (false).
|
||||
* @param prefix The string used to prefix the file number if files are being
|
||||
* numbered rather than named */
|
||||
int ExportMultipleByTrack(bool byName, wxString prefix, bool addNumber);
|
||||
int ExportMultipleByTrack(bool byName, const wxString &prefix, bool addNumber);
|
||||
|
||||
/** Export one file of an export multiple set
|
||||
*
|
||||
@@ -83,7 +83,7 @@ private:
|
||||
/** \brief Takes an arbitrary text string and converts it to a form that can
|
||||
* be used as a file name, if necessary prompting the user to edit the file
|
||||
* name produced */
|
||||
wxString MakeFileName(wxString input);
|
||||
wxString MakeFileName(const wxString &input);
|
||||
// Dialog
|
||||
void PopulateOrExchange(ShuttleGui& S);
|
||||
void EnableControls();
|
||||
|
||||
Reference in New Issue
Block a user