--Boundary-03=_OW1nAkytPDkrtsV Content-Type: multipart/mixed; boundary="Boundary-01=_HW1nAtOmz3UMVWf" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_HW1nAtOmz3UMVWf Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dnia niedziela 09 maj 2004 22:39, David Faure napisa=C5=82: > CVS commit by faure: > > Fix compilation with gcc-3.4 (alledgedly) > > > M +1 -1 vcanvas.cc 1.20 > > > --- koffice/karbon/widgets/vcanvas.cc #1.19:1.20 > @@ -348,5 +348,5 @@ VCanvas::repaintAll( const KoRect & ) > // m_view->layersDocker()->updatePreviews(); > VPainter *p =3D m_view->painterFactory()->painter(); > - KoRect rect( rect().x(), rect().y(), rect().width(), > rect().height() ); + KoRect rect =3D KoRect::fromQRect( this->rect= () > ); > p->blit( rect ); Could You apply sth like this below (solves another 'different types'=20 problem)? Tx =2D-=20 Adam Gorzkiewicz http://www.pld-linux.org --Boundary-01=_HW1nAtOmz3UMVWf Content-Type: text/x-diff; charset="utf-8"; name="koffice-gcc34.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="koffice-gcc34.patch" =2D-- koffice-040509/krita/core/kis_image.cc.orig 2004-05-10 00:03:51.00000= 0000 +0200 +++ koffice-040509/krita/core/kis_image.cc 2004-05-10 11:33:30.218796504 +0= 200 @@ -506,12 +506,12 @@ =20 const KisLayerSP KisImage::activeLayer() const { =2D return m_selection ? m_selection : m_activeLayer; + return m_selection ? static_cast(m_selection) : m_activeLayer; } =20 KisLayerSP KisImage::activeLayer() { =2D return m_selection ? m_selection : m_activeLayer; + return m_selection ? static_cast(m_selection) : m_activeLayer; } =20 KisLayerSP KisImage::activate(KisLayerSP layer) --Boundary-01=_HW1nAtOmz3UMVWf-- --Boundary-03=_OW1nAkytPDkrtsV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.7 (GNU/Linux) iD8DBQBAn1WODCo3CWnk2GERAlYFAJkBdT9xGuQ0LD4qvAyQAYNhY39CAACg6b1u HHxTjSJn8MHH23JIqgZ2+G0= =m0bs -----END PGP SIGNATURE----- --Boundary-03=_OW1nAkytPDkrtsV--