Browse Source

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

tags/2021-05-28
jules 6 years ago
parent
commit
e07782ff38
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_data_structures/values/juce_ValueTree.cpp

+ 1
- 1
modules/juce_data_structures/values/juce_ValueTree.cpp 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 {};
}


Loading…
Cancel
Save