]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiErrorList.cpp
Please Abdel
[lyx.git] / src / frontends / qt4 / GuiErrorList.cpp
index 212cd39af519003525ba04b5872cc4683a3080c0..b3ab09f79f48662d6d28650f5eedad8ed836bae7 100644 (file)
@@ -176,8 +176,8 @@ bool GuiErrorList::goTo(int item)
        while (dit.inset().lyxCode() == INFO_CODE)
                dit.forwardPos();
 
-       // If this paragraph has zero size, highlight the previous one
-       while (dit.paragraph().size() == 0)
+       // If this paragraph is empty, highlight the previous one
+       while (dit.paragraph().empty())
                dit.backwardPos();
 
        // Now make the selection.