Closed
Bug 305
Opened 26 years ago
Closed 26 years ago
edtbuf.cpp SelectTable overload needs explicit type cast
Categories
(MozillaClassic Graveyard :: Composer, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: berkley, Assigned: cmanske)
Details
Created by Berkley Shands (berkley@cs.wustl.edu) on Wednesday, May 6, 1998 9:24:53 AM PDT
Additional Details :
cxx: Error: edtbuf.cpp, line 14446: no instance of
overloaded function "CEditBuffer::SelectTable" matches the
argument list
argument types are: (int, long,
CEditTableElement *)
SelectTable(FALSE, NULL,
(CEditTableElement*)pElement);
----------------^
1 error detected in the compilation of "edtbuf.cpp".
make: *** [OSF1V4.0_DBG.OBJ/edtbuf.o] Error 1
mozilla/lib/layout>
this is in the 19980429 edition.
if( pElement->IsTable() )
{
SelectTable(FALSE, (LO_TableStruct*) NULL,
(CEditTableElement*)pElement);
return;
}
else if( pElement->IsTableCell() )
{
SelectCell(FALSE, (LO_CellStruct*) NULL,
(CEditTableCellElement*)pElement);
return;
}
berkley
Updated•26 years ago
|
Assignee: brade → cmanske
Comment 2•26 years ago
|
||
reassign to cmanske
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•26 years ago
|
||
Casting a NULL seems ludicrous. Does it work if you use zero (0 or 0L) instead?
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•26 years ago
|
||
Checked in 10/29/98
qa contact set to gerardok@netscape.com for review in case this should be
checked against new code base
Charlie, please help us verify this bug by giving us a test case or mark it
yourself as verified.
Assignee | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 7•26 years ago
|
||
There is no possible test case - its just a change to allow compiling on
certain UNIX compilers. Its all moot anyway, since none of this code will be
used in Seamonkey 5.0
You need to log in
before you can comment on or make changes to this bug.
Description
•