1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Tweaked ValueTree::toXmlString() to make it return a bare document without the XML header

This commit is contained in:
jules 2018-10-15 17:47:07 +01:00
parent 1f63493031
commit e07782ff38

View file

@ -1020,7 +1020,7 @@ String ValueTree::toXmlString() const
std::unique_ptr<XmlElement> xml (createXml());
if (xml != nullptr)
return xml->createDocument ({});
return xml->createDocument ({}, false, false);
return {};
}