#include "LayoutModuleList.h"
#include "ModuleList.h"
#include "Preamble.h"
-#include "TextClass.h"
#include "support/ConsoleApplication.h"
#include "support/convert.h"
+#include "support/debug.h"
#include "support/ExceptionMessage.h"
#include "support/filetools.h"
#include "support/lassert.h"
if (ilay.second.latexname() == name &&
(latexparam.empty() ||
(!ilay.second.latexparam().empty() && suffixIs(latexparam, ilay.second.latexparam()))) &&
- ((command && ilay.second.latextype() == InsetLayout::COMMAND) ||
- (!command && ilay.second.latextype() == InsetLayout::ENVIRONMENT)))
+ ((command && ilay.second.latextype() == InsetLaTeXType::COMMAND) ||
+ (!command && ilay.second.latextype() == InsetLaTeXType::ENVIRONMENT)))
return &(ilay.second);
}
return 0;