diff options
Diffstat (limited to 'kspread/kspread_format.cc')
-rw-r--r-- | kspread/kspread_format.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kspread/kspread_format.cc b/kspread/kspread_format.cc index b0960735..ecebff60 100644 --- a/kspread/kspread_format.cc +++ b/kspread/kspread_format.cc @@ -2725,7 +2725,7 @@ void RowFormat::setBottomBorderPen( const TQPen & p ) Format::setBottomBorderPen( p ); } -void RowFormat::setHide( bool _hide, bool repaint ) +void RowFormat::setHide( bool _hide, bool tqrepaint ) { if ( _hide != m_bHide ) // only if we change the status { @@ -2734,14 +2734,14 @@ void RowFormat::setHide( bool _hide, bool repaint ) // Lower maximum size by height of row m_pSheet->adjustSizeMaxY ( - dblHeight() ); m_bHide = _hide; //hide must be set after we requested the height - m_pSheet->emit_updateRow( this, m_iRow, repaint ); + m_pSheet->emit_updateRow( this, m_iRow, tqrepaint ); } else { // Rise maximum size by height of row m_bHide = _hide; //unhide must be set before we request the height m_pSheet->adjustSizeMaxY ( dblHeight() ); - m_pSheet->emit_updateRow( this, m_iRow, repaint ); + m_pSheet->emit_updateRow( this, m_iRow, tqrepaint ); } } } |