]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.cpp
DocBook: properly escape PI in InsetMarginal.
[lyx.git] / src / DocIterator.cpp
index bdad90f4fc225d9f147044c95c5b13fb8f0f82ed..0f4bc10fac73a0e1fda35d8f4dcc9e044bfd2a9f 100644 (file)
@@ -633,11 +633,7 @@ void DocIterator::sanitize()
        for (size_t i = 0, n = sl.size(); i != n; ++i) {
                if (inset == nullptr) {
                        // FIXME
-                       LYXERR0(" Should not happen, but does e.g. after "
-                               "C-n C-l C-z S-C-z\n"
-                               << " or when a Buffer has been concurrently edited by two views"
-                               << '\n' << "dit: " << *this << '\n'
-                               << " lastpos: " << slices_[i].lastpos());
+                       LYXERR0("Null inset on cursor stack.");
                        fixIfBroken();
                        break;
                }