1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Introjucer: misc internal refactoring.

This commit is contained in:
jules 2012-07-09 10:15:26 +01:00
parent 1f2b26a30b
commit c65c7dd4a4
13 changed files with 158 additions and 138 deletions

View file

@ -304,12 +304,12 @@ void OpenDocumentManager::fileHasBeenRenamed (const File& oldFile, const File& n
//==============================================================================
RecentDocumentList::RecentDocumentList()
{
JucerApplication::getApp()->openDocumentManager.addListener (this);
JucerApplication::getApp().openDocumentManager.addListener (this);
}
RecentDocumentList::~RecentDocumentList()
{
JucerApplication::getApp()->openDocumentManager.removeListener (this);
JucerApplication::getApp().openDocumentManager.removeListener (this);
}
void RecentDocumentList::clear()
@ -378,7 +378,7 @@ static void restoreDocList (Project& project, Array <OpenDocumentManager::Docume
{
if (xml != nullptr)
{
OpenDocumentManager& odm = JucerApplication::getApp()->openDocumentManager;
OpenDocumentManager& odm = JucerApplication::getApp().openDocumentManager;
forEachXmlChildElementWithTagName (*xml, e, "DOC")
{