]> git.lyx.org Git - lyx.git/blobdiff - src/output_docbook.cpp
Force redraw after completion
[lyx.git] / src / output_docbook.cpp
index f35b82e8f2c8d235be73dcb7f5dbce27890a7624..71d3b83f2997812232b8d175a7a674fd5474dc61 100644 (file)
@@ -754,7 +754,7 @@ DocBookDocumentSectioning hasDocumentSectioning(ParagraphList const &paragraphs,
        bool documentHasSections = false;
 
        while (bpit < epit) {
-               LASSERT(bpit < paragraphs.size(), return make_tuple(documentHasSections, bpit));
+               LASSERT(static_cast<size_t>(bpit) < paragraphs.size(), return make_tuple(documentHasSections, bpit));
 
                Layout const &style = paragraphs[bpit].layout();
                documentHasSections |= isLayoutSectioningOrSimilar(style);