[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Benefit from Open Office sources?
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2003-02-20 11:21:32
[Download RAW message or body]

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

On Saturday 04 January 2003 01:20, thelightning wrote:
>  * Do you make use of Open office sources to accelerate Koffice
> developement?
>  * If not, why? (then what is open source philosophy)

Here's an example of why...

// MakeBorderLine() bekommt einen WW8Bytes* uebergeben, um die Funktion
// auch fuer die Tabellen-Umrandungen zu benutzen.
// Wenn nSprmNo == 0, dann wird der Opcode nicht ausgegeben.
// bShadow darf bei Tabellenzellen *nicht* gesetzt sein !
void SwWW8Writer::Out_BorderLine(WW8Bytes& rO, const SvxBorderLine* pLine,
    USHORT nDist, USHORT nOffset, bool bShadow)
{
        ASSERT( (0 <= nOffset && nOffset <= 3) || USHRT_MAX == nOffset ||
                        ((0x702b - 0x6424) <= nOffset && nOffset <= (0x702e - 0x6424)),
                                "SprmOffset ausserhalb des Bereichs" );

Do you really think it accelerates development, to have source code
with lots of hardcoded values, and comments in German?

(Don't bother translating that comment for me, I realized afterwards this was
the .doc writing code, whereas I was looking for the reading code, for a
specific problem).

- -- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+VLo872KcVAmwbhARAoE7AJ0TX4N84MFBPKAllk0IHAqgBIyyJQCglvv1
WRx0ErMnDqd3HxfersTf1LA=
=kS7V
-----END PGP SIGNATURE-----

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic