| Summary: | [Forms] Compiler warnings in N20101108-2000 build in ui.forms | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||||||
| Component: | User Assistance | Assignee: | Chris Goldthorpe <cgold> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | daniel_megert, pwebster | ||||||||
| Version: | 3.7 | ||||||||||
| Target Milestone: | 3.7 M4 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Olivier Thomann
Created attachment 182864 [details]
Patch for TableWrapLayout
colSpace was unused. It seems that the intention was to have a line
int colSpace = parentWidth - maxWidth;
instead of
int extra = parentWidth - maxWidth;
however if I do that the columns get narrower than they should be. As the code is the widths are correct when the path goes through this code. Deleting the lines which set colSpace.
Created attachment 182927 [details]
Patch for Section
twidth has been unused since at least Eclipse 3.3. I have removed twidth and its assignments.
Created attachment 182929 [details]
Patch for TextSection
The unused variable lineWidth is calculated in much the same way as lastWidth which is used. Removing lineWidth.
The three patches have been committed to HEAD, Fixed. Verified in N20101111-2000. |