1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Added a couple of handy methods XmlDocument::parse().

This commit is contained in:
Julian Storer 2010-11-03 19:46:10 +00:00
parent 59ac5a6d25
commit 030489f086
12 changed files with 136 additions and 179 deletions

View file

@ -127,9 +127,7 @@ bool PropertySet::getBoolValue (const String& keyName,
XmlElement* PropertySet::getXmlValue (const String& keyName) const
{
XmlDocument doc (getValue (keyName));
return doc.getDocumentElement();
return XmlDocument::parse (getValue (keyName));
}
void PropertySet::setValue (const String& keyName, const var& v)