Summary: | Perhaps a bug in wmf (emf) library | ||
---|---|---|---|
Product: | [Unmaintained] kword | Reporter: | Lor Thi <lor.thi> |
Component: | general | Assignee: | Thomas Zander <zander> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Lor Thi
2001-07-30 20:22:26 UTC
On Monday 30 July 2001 22:20 thierry lorthiois wrote: > Package: kword > Version: cvs 30/07 (using KDE 2.2 CVS 30/07) > Severity: normal > Installed from: compiled sources > Others : Â Suse7.1 linux 2.4.3 gcc 2.95.2 qt2.3.1 > > In file "koffice/lib/kwmf/wmfstruct.h" > struct WmfEnhMetaHeader > { > ....... > SIZEL szlDevice; // Size of the reference device in pixels > SIZEL szlMillimeters; // Size of the reference device in millimeters > }; > with > typedef Q_INT32 SIZEL; > > But the specification of Enhanced Meta Header say > LONG WidthDevPixels; /* Width of reference device in pixels */ > LONG HeightDevPixels; /* Height of reference device in pixels */ > LONG WidthDevMM; /* Width of reference device in millimeters */ > LONG HeightDevMM; /* Height of reference device in millimeters */ Hmm hold on.... Where's the problem ? On an x86 machine Q_INT32 is 32 bits and LONG is 32 bits.... -- David FAURE david@mandrakesoft.com faure@kde.org http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/ KDE Making The Future of Computing Available Today *** Bug 302441 has been marked as a duplicate of this bug. *** |