mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Coping with yet another string change
This commit is contained in:
parent
c5e6dbb140
commit
ddd73f3220
@ -1538,7 +1538,7 @@ nsFontMetricsQT::FindLocalFont(PRUnichar aChar)
|
||||
if (mFontIsGeneric[mFontsIndex]) {
|
||||
return nsnull;
|
||||
}
|
||||
QString qName(*(mFonts.CStringAt(mFontsIndex++)));
|
||||
QString qName((*(mFonts.CStringAt(mFontsIndex++))).get());
|
||||
nsFontQT *font;
|
||||
|
||||
font = LoadFont(qName,aChar);
|
||||
|
@ -192,10 +192,10 @@ nsClipboard::GetNativeClipboardData(nsITransferable *aTransferable,
|
||||
nsCOMPtr<nsISupports> genericDataWrapper;
|
||||
PRUint32 len = (PRUint32)ba.count();
|
||||
|
||||
nsPrimitiveHelpers::CreatePrimitiveForData(foundFlavor,
|
||||
nsPrimitiveHelpers::CreatePrimitiveForData(foundFlavor.get(),
|
||||
(void*)ba.data(),len,
|
||||
getter_AddRefs(genericDataWrapper));
|
||||
aTransferable->SetTransferData(foundFlavor,genericDataWrapper,len);
|
||||
aTransferable->SetTransferData(foundFlavor.get(),genericDataWrapper,len);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -251,11 +251,11 @@ NS_IMETHODIMP nsDragService::GetData(nsITransferable *aTransferable,
|
||||
nsCOMPtr<nsISupports> genericDataWrapper;
|
||||
PRUint32 len = (PRUint32)ba.count();
|
||||
|
||||
nsPrimitiveHelpers::CreatePrimitiveForData(foundFlavor,
|
||||
nsPrimitiveHelpers::CreatePrimitiveForData(foundFlavor.get(),
|
||||
(void*)ba.data(),len,
|
||||
getter_AddRefs(genericDataWrapper));
|
||||
|
||||
aTransferable->SetTransferData(foundFlavor,genericDataWrapper,len);
|
||||
aTransferable->SetTransferData(foundFlavor.get(),genericDataWrapper,len);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user