mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 13:45:27 +00:00
toString -> ToString.
This commit is contained in:
parent
72c115383c
commit
1553fbbc31
@ -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();
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user