compilation of koffice's karbon breaks

Andreas Sturm a_sturm at naimasoft.com
Sun Dec 1 21:55:36 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi David!

This worked for vcanvas.cc but it does not work for karbon_view.cc:

// KoRect corect = KoRect::fromQRect( QRect( 0, 0, width(), height() ) );
                        KoRect corect(0, 0, width(), height());
                        i.current()->draw( &p, &corect );

leads to

cc-1020 CC: ERROR File = karbon_view.cc, Line = 282
  The identifier "corect" is undefined.

                 i.current()->draw( &p, &corect(0, 0, width(),height()) );
                                         ^

1 error detected in the compilation of "karbon_view.cc".

Why does this happen in this case or what is different to the first one?
Thanks David!

Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (IRIX64)

iD8DBQE96oVeWZhxXlcCT4ERAopsAJ9+CCYtZzLuCyLG5HicA6CrTtOmaACfWMHw
XpX7FqfC8SGg2yeCKfKFkrE=
=Q4yH
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list