diff options
Diffstat (limited to 'kspread/manipulator.cc')
-rw-r--r-- | kspread/manipulator.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kspread/manipulator.cc b/kspread/manipulator.cc index bed111ba..57e52fcf 100644 --- a/kspread/manipulator.cc +++ b/kspread/manipulator.cc @@ -1444,20 +1444,20 @@ double AdjustColumnRowManipulator::adjustColumnHelper(Cell* cell, int col, int r if ( cell->textWidth() > long_max ) { double indent = 0.0; - Format::Align tqalignment = cell->format()->align(cell->column(), cell->row()); - if (tqalignment == Format::Undefined) + Format::Align alignment = cell->format()->align(cell->column(), cell->row()); + if (alignment == Format::Undefined) { if (cell->value().isNumber() || cell->isDate() || cell->isTime()) { - tqalignment = Format::Right; + alignment = Format::Right; } else { - tqalignment = Format::Left; + alignment = Format::Left; } } - if (tqalignment == Format::Left) + if (alignment == Format::Left) { indent = cell->format()->getIndent( cell->column(), cell->row() ); } |