mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
624 B

  1. --- koffice-1.3.1/karbon/widgets/vcanvas.cc.orig 2004-04-12 11:18:46.000000000 +0200
  2. +++ koffice-1.3.1/karbon/widgets/vcanvas.cc 2004-05-10 10:24:47.550169576 +0200
  3. @@ -306,12 +306,12 @@
  4. /// repaints just a rect area (no scrolling)
  5. void
  6. -VCanvas::repaintAll( const KoRect & )
  7. +VCanvas::repaintAll( const KoRect & r)
  8. {
  9. //if( m_view->layersDocker() )
  10. // m_view->layersDocker()->updatePreviews();
  11. VPainter *p = m_view->painterFactory()->painter();
  12. - KoRect rect( rect().x(), rect().y(), rect().width(), rect().height() );
  13. + KoRect rect( r.x(), r.y(), r.width(), r.height() );
  14. p->blit( rect );
  15. // draw handle: