]> git.lyx.org Git - features.git/blobdiff - src/TextMetrics.cpp
Try another way to signal a false positive to coverity
[features.git] / src / TextMetrics.cpp
index 87a381eed0d09a66e436728cf0cba2c75d8464c1..5873a281759f42eb65e1472e3b1f1c02cb186586 100644 (file)
@@ -482,11 +482,11 @@ bool TextMetrics::redoParagraph(pit_type const pit)
        if (text_->isMainText()) {
                if (pit == 0) {
                        pm.rows().front().dimension().asc += 20;
-                       /* coverity[copy_paste_error]: coverity thinks that we
-                        * should update pm.dim().asc below, but all the rows
-                        * heights are actually counted as part of the paragraph metric
-                        * descent see loop above).
+                       /* coverity thinks that we should update pm.dim().asc
+                        * below, but all the rows heights are actually counted as
+                        * part of the paragraph metric descent see loop above).
                         */
+                       // coverity[copy_paste_error]
                        pm.dim().des += 20;
                }
                ParagraphList const & pars = text_->paragraphs();