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:
parent
87175e988b
commit
21006fbd0a
27 changed files with 593 additions and 1285 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue