To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=106401 Issue #|106401 Summary|sw: aliasing unsafe casts to/from SwRect Point and Siz |e Component|Word processor Version|DEV300m63 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|ama Reported by|cmc
------- Additional comments from c...@openoffice.org Wed Oct 28 20:58:36 +0000 2009 ------- The SwRect class uses developer-only knowledge that the layout of a Point and a Size can be emulated with two longs and does some various casting of parts of itself to a Point and Size in order to pull this off. That's basically cheating :-), if we change this to make SwRect explicitly be a Point and Size we should have no penalty in performance, and leave the way clear for allowing the compiler to take advantage of strict-aliasing optimizations in the future --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org