mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
Try another way to signal a false positive to coverity
This commit is contained in:
parent
5453e00cfa
commit
ae6e6b3e47
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user