/// the location below system/user directory
/// there the aff+dic files lookup will happen
- const string dictDirectory(void) { return "dict"; }
- const int maxLookupSelector(void) { return 3; }
+ const string dictDirectory(void) const { return "dict"; }
+ int maxLookupSelector(void) const { return 3; }
};
int new_width = 0;
for(row_type r = 0; r < nrows(); ++r) {
idx_type const i = cellIndex(r, c);
- if (columnSpan(i) == 1)
+ if (columnSpan(i) == 1) {
if (getAlignment(i) == LYX_ALIGN_DECIMAL)
new_width = max(new_width, cellInfo(i).width
+ max_dwidth[c] - cellInfo(i).decimal_width);
else
new_width = max(new_width, cellInfo(i).width);
+ }
}
if (column_info[c].width != new_width) {