Closed
Bug 773839
Opened 14 years ago
Closed 14 years ago
Fix build warnings under accessible/
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: dzbarsky, Assigned: dzbarsky)
Details
Attachments
(1 file)
|
6.05 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #642114 -
Flags: review?(trev.saunders)
Comment 2•14 years ago
|
||
Comment on attachment 642114 [details] [diff] [review]
Patch
> PRInt32 columnExtent = 0;
>
>- nsresult rv = tableLayout->
>+ mozilla::DebugOnly<nsresult> rv = tableLayout->
nit, add using namespace mozilla, and get rid of the mozilla::s
> GetCellDataAt(aRowIdx, aColIdx, *getter_AddRefs(domElement),
> startRowIndex, startColIndex, rowSpan, colSpan,
> actualRowSpan, columnExtent, isSelected);
>
>+ NS_ASSERTION(NS_SUCCEEDED(rv), "Could not get cell data");
> return columnExtent;
nit, I'd put the blank line after the assert.
>- nsresult rv = tableLayout->
>+ mozilla::DebugOnly<nsresult> rv = tableLayout->
> GetCellDataAt(aRowIdx, aColIdx, *getter_AddRefs(domElement),
> startRowIndex, startColIndex, rowSpan, colSpan,
> rowExtent, actualColSpan, isSelected);
>
>+ NS_ASSERTION(NS_SUCCEEDED(rv), "Could not get cell data");
> return rowExtent;
same here
r=me with that
Attachment #642114 -
Flags: review?(trev.saunders) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Target Milestone: --- → mozilla17
Comment 4•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•