]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
More requires --> required, for C++2a.
[lyx.git] / src / Text3.cpp
index ac871d53d473c898838529842365b55c57c009e9..1e0180cc2e726375487a1818373d1851e758dab1 100644 (file)
@@ -2077,7 +2077,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                bool const sel = cur.selection();
                doInsertInset(cur, this, cmd, true, true);
                // Insert auto-insert arguments
-               bool autoargs, inautoarg = false;
+               bool autoargs = false, inautoarg = false;
                Layout::LaTeXArgMap args = cur.inset().getLayout().args();
                Layout::LaTeXArgMap::const_iterator lait = args.begin();
                Layout::LaTeXArgMap::const_iterator const laend = args.end();