]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.C
This commit cleans up everything related to singleton. The other important change...
[lyx.git] / src / mathed / MathFactory.C
index e9e40b4f49484d82910f68734ed4e6a1d9e7654b..6bc40bbea90b7e012d284e83ecf55ed00e8be955 100644 (file)
@@ -60,7 +60,6 @@
 #include "support/filetools.h" // LibFileSearch
 #include "support/lstrings.h"
 
-#include "frontends/Application.h"
 #include "frontends/FontLoader.h"
 
 #include <fstream>
@@ -89,7 +88,7 @@ bool math_font_available(string & name)
        augmentFont(f, name);
 
        // Do we have the font proper?
-       if (theApp->fontLoader().available(f))
+       if (theFontLoader().available(f))
                return true;
 
        // can we fake it?