I think alec was just overzelous in his changes - this is the only GetData that required change to build with the freeze

This commit is contained in:
mkaply%us.ibm.com 2002-08-27 03:31:04 +00:00
Родитель 266ccfb954
Коммит a7995e3aff
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -124,9 +124,9 @@ NS_IMETHODIMP nsDragService::InvokeDragSession(nsIDOMNode *aDOMNode, nsISupports
nsCOMPtr<nsISupportsString> urlObject ( do_QueryInterface(genericURL) ); nsCOMPtr<nsISupportsString> urlObject ( do_QueryInterface(genericURL) );
if( urlObject ) if( urlObject )
{ {
nsXPIDLString urlInfo; nsAutoString urlInfo;
nsAutoString linkName, url, holder; nsAutoString linkName, url, holder;
urlObject->GetData ( getter_Copies(urlInfo) ); urlObject->GetData ( urlInfo );
holder = urlInfo; holder = urlInfo;
PRInt32 lineIndex = holder.FindChar ('\n'); PRInt32 lineIndex = holder.FindChar ('\n');
if ( lineIndex != -1 ) if ( lineIndex != -1 )