]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetArgument.cpp
Revert "Do not crash is release mode if we stumble across an unrealized font."
[lyx.git] / src / insets / InsetArgument.cpp
index 13d17bb10f618a108d8370d90cd8cbefe6c0c113..da807d201a40af30e34192970e0c9c2c1c87be24 100644 (file)
@@ -104,11 +104,7 @@ void InsetArgument::updateBuffer(ParIterator const & it, UpdateType utype)
                        name_ = convert<string>(ours);
                }
        }
-
-    // FIXME It does not look to me as if this needs to be redone
-    // over and over again. All the arguments are coming from the
-    // layout. If that changes....
-    Layout::LaTeXArgMap::const_iterator const lait = args.find(name_);
+       Layout::LaTeXArgMap::const_iterator const lait = args.find(name_);
        if (lait != args.end()) {
                docstring label = translateIfPossible((*lait).second.labelstring);
                docstring striplabel;