mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Removed a few more uses of String::empty.
This commit is contained in:
parent
2623f4d1e1
commit
2edec00b55
46 changed files with 91 additions and 91 deletions
|
|
@ -235,7 +235,7 @@ String UndoManager::getUndoDescription() const
|
|||
if (const ActionSet* const s = getCurrentSet())
|
||||
return s->name;
|
||||
|
||||
return String::empty;
|
||||
return String();
|
||||
}
|
||||
|
||||
String UndoManager::getRedoDescription() const
|
||||
|
|
@ -243,7 +243,7 @@ String UndoManager::getRedoDescription() const
|
|||
if (const ActionSet* const s = getNextSet())
|
||||
return s->name;
|
||||
|
||||
return String::empty;
|
||||
return String();
|
||||
}
|
||||
|
||||
Time UndoManager::getTimeOfUndoTransaction() const
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ public:
|
|||
@see beginNewTransaction
|
||||
*/
|
||||
bool perform (UndoableAction* action,
|
||||
const String& actionName = String::empty);
|
||||
const String& actionName = String());
|
||||
|
||||
/** Starts a new group of actions that together will be treated as a single transaction.
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ public:
|
|||
@param actionName a description of the transaction that is about to be
|
||||
performed
|
||||
*/
|
||||
void beginNewTransaction (const String& actionName = String::empty);
|
||||
void beginNewTransaction (const String& actionName = String());
|
||||
|
||||
/** Changes the name stored for the current transaction.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue