зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
266ccfb954
Коммит
a7995e3aff
|
@ -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 )
|
||||||
|
|
Загрузка…
Ссылка в новой задаче