]> git.lyx.org Git - lyx.git/blobdiff - src/Text2.cpp
Fix bug #7212: Paragraph::forToc has to include the labelString.
[lyx.git] / src / Text2.cpp
index 9ce5d98fa9330ebf94c12a5b03a9444719effd55..24a3317cf7cafcf14c7438dcd739b22574ea3d8b 100644 (file)
@@ -919,8 +919,9 @@ void Text::deleteEmptyParagraphMechanism(pit_type first, pit_type last, bool tra
                        }
                }
 
-               // don't delete anything if this is the only remaining paragraph within the given range
-               // note: Text::acceptOrRejectChanges() sets the cursor to 'first' after calling DEPM
+               // don't delete anything if this is the only remaining paragraph
+               // within the given range. Note: Text::acceptOrRejectChanges()
+               // sets the cursor to 'first' after calling DEPM
                if (first == last)
                        continue;