making string conversions explicit

git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
2000-04-15 20:15:37 +00:00
parent deb4fcc89d
commit 8a7f53cc88
55 changed files with 1195 additions and 1218 deletions

View File

@@ -335,7 +335,7 @@ void Area::ToHTML(nsString& aResult)
if (nsnull != mCoords) {
PRInt32 i, n = mNumCoords;
for (i = 0; i < n; i++) {
aResult.AppendWithConversion(mCoords[i], 10);
aResult.AppendInt(mCoords[i], 10);
if (i < n - 1) {
aResult.AppendWithConversion(',');
}
@@ -390,9 +390,9 @@ void Area::BeginConvertToXIF(nsXIFConverter& aConverter) const
if (nsnull != mCoords) {
PRInt32 i, n = mNumCoords;
for (i = 0; i < n; i++) {
coords.AppendWithConversion(mCoords[i], 10);
coords.AppendInt(mCoords[i], 10);
if (i < n - 1) {
coords.Append(',');
coords.AppendWithConversion(',');
}
}
}