summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_cell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_cell.cc')
-rw-r--r--kspread/kspread_cell.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/kspread/kspread_cell.cc b/kspread/kspread_cell.cc
index 991f64331..fca76bbe0 100644
--- a/kspread/kspread_cell.cc
+++ b/kspread/kspread_cell.cc
@@ -1871,7 +1871,7 @@ void Cell::offsetAlign( int _col, int _row )
void Cell::textSize( TQPainter &_paint )
{
TQFontMetrics fm = _paint.fontMetrics();
- //Qt::Horizontal text ?
+ // Horizontal text ?
int tmpAngle;
int _row = row();
@@ -1919,7 +1919,7 @@ void Cell::textSize( TQPainter &_paint )
// Set d->textWidth and d->textHeight to correct values according to
// if the text is horizontal, vertical or rotated.
if ( !tmpVerticalText && !tmpAngle ) {
- //Qt::Horizontal text.
+ // Horizontal text.
d->textWidth = format()->sheet()->doc()->unzoomItX( fm.width( d->strOutText ) );
int offsetFont = 0;
@@ -1946,7 +1946,7 @@ void Cell::textSize( TQPainter &_paint )
* cos ( tmpAngle * M_PI / 180 ) ) );
}
else {
- //Qt::Vertical text.
+ // Vertical text.
int width = 0;
for ( unsigned int i = 0; i < d->strOutText.length(); i++ )
width = TQMAX( width, fm.width( d->strOutText.at( i ) ) );
@@ -3348,7 +3348,7 @@ void Cell::paintText( TQPainter& painter,
// - One line of text , horizontal
// - Angled text
// - Multiple rows of text , horizontal
- // -Qt::Vertical text
+ // - Vertical text
if ( !tmpMultiRow && !tmpVerticalText && !tmpAngle ) {
// Case 1: The simple case, one line, no angle.
@@ -3424,7 +3424,7 @@ void Cell::paintText( TQPainter& painter,
} while ( i != -1 );
}
else if ( tmpVerticalText && !d->strOutText.isEmpty() ) {
- // Case 4:Qt::Vertical text.
+ // Case 4: Vertical text.
TQString t;
int i = 0;
@@ -4139,7 +4139,7 @@ TQString Cell::textDisplaying( TQPainter &_painter )
return TQString( "" );
}
else if ( format()->verticalText( column(), row() ) ) {
- //Qt::Vertical text.
+ // Vertical text.
RowFormat *rl = format()->sheet()->rowFormat( row() );
double tmpIndent = 0.0;