mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix some warnings
This commit is contained in:
parent
a15468e260
commit
0ad9d46068
@ -619,16 +619,16 @@ void TextMetrics::computeRowMetrics(pit_type const pit,
|
||||
row.dimension().wid = width;
|
||||
} else if (is_rtl) {
|
||||
row.dimension().wid = width;
|
||||
row.left_margin += w;
|
||||
row.left_margin += int(w);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LYX_ALIGN_RIGHT:
|
||||
row.left_margin += w;
|
||||
row.left_margin += int(w);
|
||||
break;
|
||||
case LYX_ALIGN_CENTER:
|
||||
row.dimension().wid = width - int(w / 2);
|
||||
row.left_margin += w / 2;
|
||||
row.left_margin += int(w / 2);
|
||||
break;
|
||||
case LYX_ALIGN_LEFT:
|
||||
case LYX_ALIGN_NONE:
|
||||
|
Loading…
Reference in New Issue
Block a user