#include "support/gettext.h"
#include "support/lstrings.h"
#include "support/textutils.h"
#include "support/gettext.h"
#include "support/lstrings.h"
#include "support/textutils.h"
crc.process_bytes(b, sizeof(char_type));
if (bparams.trackChanges) {
Change change = par_->lookupChange(i);
crc.process_bytes(b, sizeof(char_type));
if (bparams.trackChanges) {
Change change = par_->lookupChange(i);
- char_type const b[] = { row.sel_beg, row.sel_end,
+ char_type const b[] = { static_cast<char_type>(row.sel_beg),
+ static_cast<char_type>(row.sel_end),
row.begin_margin_sel, row.end_margin_sel, d.wid, d.asc, d.des};
row.begin_margin_sel, row.end_margin_sel, d.wid, d.asc, d.des};
c = par_->transformChar(c, pos);
} else if (language->lang() == "hebrew" &&
Encodings::isHebrewComposeChar(c)) {
c = par_->transformChar(c, pos);
} else if (language->lang() == "hebrew" &&
Encodings::isHebrewComposeChar(c)) {
// expand at the end of a row only if there is another hfill on the same row
if (pos == row.endpos() - 1) {
// expand at the end of a row only if there is another hfill on the same row
if (pos == row.endpos() - 1) {
// do not expand in some labels
if (par_->layout().margintype != MARGIN_MANUAL && pos < par_->beginOfBody())
// do not expand in some labels
if (par_->layout().margintype != MARGIN_MANUAL && pos < par_->beginOfBody())