1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

Internal refactoring of file functions and win32 com objects.

This commit is contained in:
Julian Storer 2010-04-25 21:13:12 +01:00
parent 87175e988b
commit 21006fbd0a
27 changed files with 593 additions and 1285 deletions

View file

@ -108,7 +108,7 @@ public:
if (fontDirs.size() == 0)
{
XmlDocument fontsConfig (File ("/etc/fonts/fonts.conf"));
XmlElement* const fontsInfo = fontsConfig.getDocumentElement();
const ScopedPointer<XmlElement> fontsInfo (fontsConfig.getDocumentElement());
if (fontsInfo != 0)
{
@ -116,8 +116,6 @@ public:
{
fontDirs.add (e->getAllSubText().trim());
}
delete fontsInfo;
}
}