diff options
Diffstat (limited to 'kspread/kspread_sheet.cc')
-rw-r--r-- | kspread/kspread_sheet.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/kspread_sheet.cc b/kspread/kspread_sheet.cc index ca69af156..703231246 100644 --- a/kspread/kspread_sheet.cc +++ b/kspread/kspread_sheet.cc @@ -6155,7 +6155,7 @@ KCommand *Sheet::moveObject(View *_view, double diffx, double diffy) br.moveBy( doc()->zoomItX( diffx ), doc()->zoomItY( diffy ) ); br.moveBy( doc()->zoomItX( -canvas->xOffset() ), doc()->zoomItY( -canvas->yOffset() ) ); canvas->tqrepaint( br ); // Previous position - canvas->tqrepaintObject( it.current() ); // New position + canvas->repaintObject( it.current() ); // New position createCommand=true; } } @@ -6191,7 +6191,7 @@ KCommand *Sheet::moveObject(View *_view,const KoPoint &_move,bool key) _objects.append( it.current() ); canvas->tqrepaint( oldBoundingRect ); - canvas->tqrepaintObject( it.current() ); + canvas->repaintObject( it.current() ); } } @@ -8083,7 +8083,7 @@ void Sheet::emit_updateRow( RowFormat *_format, int _row, bool tqrepaint ) if ( tqrepaint ) { - //All the cells in this row, or below this row will need to be tqrepainted + //All the cells in this row, or below this row will need to be repainted //So add that region of the sheet to the paint dirty list. setRegionPaintDirty( TQRect( 0 , _row , KS_colMax , KS_rowMax) ); @@ -8104,7 +8104,7 @@ void Sheet::emit_updateColumn( ColumnFormat *_format, int _column ) if ( c->column() == _column ) c->setLayoutDirtyFlag( true ); - //All the cells in this column or to the right of it will need to be tqrepainted if the column + //All the cells in this column or to the right of it will need to be repainted if the column //has been resized or hidden, so add that region of the sheet to the paint dirty list. setRegionPaintDirty( TQRect( _column , 0 , KS_colMax , KS_rowMax) ); |