]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
Fix broken layout file syntax
[lyx.git] / src / Text3.cpp
index 7a7269668fe87cd43c724f909d66b53fdbaf5a53..9cace0df53822176dcb873b498035eb62c2c6712 100644 (file)
@@ -2531,7 +2531,7 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
                if (lait != args.end()) {
                        enable = true;
                        InsetList::const_iterator it = cur.paragraph().insetList().begin();
-                       InsetList::const_iterator end = cur.paragraph().insetList().end();
+                       InsetList::const_iterator const end = cur.paragraph().insetList().end();
                        for (; it != end; ++it) {
                                if (it->inset->lyxCode() == ARG_CODE) {
                                        InsetArgument const * ins =