[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: compilation of koffice's karbon breaks
From: David Faure <david () mandrakesoft ! com>
Date: 2002-12-01 21:38:47
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 30 November 2002 00:55, Andreas Sturm wrote:
> Hi!
>
> I am compiling koffice 1.2 for kde 3.0.5 at the moment. The compile run breaks
> at karbon/core/vcanvas.cc:
>
> cc-1152 CC: ERROR File = vcanvas.cc, Line = 222
> Expression must be an lvalue or a function designator.
>
> m_part->document().draw( p, &KoRect::fromQRect( rect ) );
Try this
KoRect kor = KoRect::fromQRect( rect );
m_part->document().draw( p, &kor );
I hope this is temporary code though, fromQRect is always a hack (since
QRect is in pixels and KoRect is meant to be used for pt coordinates...).
- --
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE96oFn72KcVAmwbhARArC/AJ9bMs6zMediQHzIPuSuU1+ffMfMRgCglMp/
j+L4o14sM9CFq1pYcRBod3U=
=lzJO
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic