toString -> ToString.

This commit is contained in:
pinkerton%netscape.com 1999-08-25 09:27:19 +00:00
parent 72c115383c
commit 1553fbbc31
2 changed files with 2 additions and 2 deletions

View File

@ -478,7 +478,7 @@ nsToolbarDragListener::DragDrop(nsIDOMEvent* aMouseEvent)
if ( dataObj ) {
// If the string was not empty then paste it in
PRUnichar* buf;
dataObj->toString(&buf);
dataObj->ToString(&buf);
if ( buf ) {
nsAutoString converter(buf);
char* lame = converter.ToNewCString();

View File

@ -857,7 +857,7 @@ nsToolboxFrame::DragDrop(nsIDOMEvent* aMouseEvent)
// If the string was not empty then make it so.
if ( dataAsString ) {
char* stuffToPaste;
dataAsString->toString ( &stuffToPaste );
dataAsString->ToString ( &stuffToPaste );
printf("Dropped: %s\n", stuffToPaste);
dragSession->SetCanDrop(PR_TRUE);
}