]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathExtern.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / MathExtern.cpp
index 1a9938dbe254a06fbae5715766b165edd3280dd2..0515179da042532c819126b75c3a6d0c480d550b 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "MathExtern.h"
 
-#include "support/debug.h"
 #include "InsetMathArray.h"
 #include "InsetMathChar.h"
 #include "InsetMathDelim.h"
 #include "MathParser.h"
 #include "MathStream.h"
 
+#include "support/debug.h"
 #include "support/docstream.h"
+#include "support/FileName.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
-#include "support/lyxlib.h"
 
 #include <algorithm>
 #include <sstream>
 #include <fstream>
+#include <memory>
 
 using namespace std;
 using namespace lyx::support;
@@ -1020,7 +1021,7 @@ namespace {
        {
                // In order to avoid parsing problems with command interpreters
                // we pass input data through a file
-               FileName const cas_tmpfile = FileName::tempName(FileName(), "casinput");
+               FileName const cas_tmpfile = FileName::tempName("casinput");
                if (cas_tmpfile.empty()) {
                        lyxerr << "Warning: cannot create temporary file."
                               << endl;