[Uml-devel] [Patch] made border calculation more robust
Ralf Habacker
ralf.habacker at freenet.de
Mon Nov 28 21:46:23 UTC 2011
Hi,
in the printing border calculation code there is another problem. In
rare cases where the page left and top margin is < 0, because of the
used "uint" type the calculated border values are wrapped to very high
values. Using a signed type will result into a negativ value, which is
much better then before.
The appended patch fixes this.
If there are no objectives i would commit this patch.
Should this and the previous patch should be applied to other branches
too ?
Regards
Ralf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: made-more-robust.patch
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20111128/f9770cb2/attachment.ksh>
More information about the umbrello-devel
mailing list