Coping with yet another string change

This commit is contained in:
seawood%netscape.com 2001-11-18 11:58:27 +00:00
parent c5e6dbb140
commit ddd73f3220
3 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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);
}
}
}

View File

@ -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);
}
}
}