mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Added a couple of handy methods XmlDocument::parse().
This commit is contained in:
parent
59ac5a6d25
commit
030489f086
12 changed files with 136 additions and 179 deletions
|
|
@ -108,8 +108,7 @@ public:
|
|||
|
||||
if (fontDirs.size() == 0)
|
||||
{
|
||||
XmlDocument fontsConfig (File ("/etc/fonts/fonts.conf"));
|
||||
const ScopedPointer<XmlElement> fontsInfo (fontsConfig.getDocumentElement());
|
||||
const ScopedPointer<XmlElement> fontsInfo (XmlDocument::parse (File ("/etc/fonts/fonts.conf")));
|
||||
|
||||
if (fontsInfo != 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue