#include "Color.h"
#include "Counters.h"
-#include "debug.h"
-#include "gettext.h"
+#include "support/debug.h"
+#include "support/gettext.h"
#include "Floating.h"
#include "FloatList.h"
#include "Layout.h"
extern FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font);
+
namespace {
class LayoutNamesEqual : public std::unary_function<LayoutPtr, bool> {
error = !layout2layout(filename, tempfile);
if (!error)
error = read(tempfile, rt);
- support::unlink(tempfile);
+ tempfile.removeFile();
return error;
}