mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Removed some duplicated code.
This commit is contained in:
parent
4198291d9a
commit
3fe01cdca7
2 changed files with 3 additions and 34 deletions
|
|
@ -183,14 +183,12 @@ void addPlistDictionaryKey (XmlElement* xml, const String& key, const String& va
|
|||
xml->removeChildElement (e, true);
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
return; // (value already exists)
|
||||
}
|
||||
|
||||
return; // (value already exists)
|
||||
}
|
||||
}
|
||||
|
||||
xml->createNewChildElement ("key") ->addTextElement (key);
|
||||
xml->createNewChildElement ("key")->addTextElement (key);
|
||||
xml->createNewChildElement ("string")->addTextElement (value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue