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:
parent
1f63493031
commit
e07782ff38
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue