#include "TextClass.h"
#include "Lexer.h"
#include "Font.h"
-#include "support/debug.h"
-
+#include "support/debug.h"
#include "support/lstrings.h"
#include <ostream>
<< to_utf8(style) << "'\n"
<< "All layouts so far:"
<< endl;
- TextClass::const_iterator it =
- tclass.begin();
- TextClass::const_iterator end =
- tclass.end();
- for (; it != end; ++it) {
- lyxerr << to_utf8((*it)->name())
+ for (size_t i = 0; i != tclass.layoutCount(); ++i)
+ lyxerr << to_utf8(tclass.layout(i)->name())
<< endl;
- }
//lexrc.printError("Cannot copy known "
// "style `$$Token'");