Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski

This commit is contained in:
mcafee%netscape.com 2000-09-21 00:21:24 +00:00
Родитель 31e9e1c724
Коммит 7fd3e47dd6
2 изменённых файлов: 0 добавлений и 26 удалений

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

@ -438,8 +438,6 @@ nsTextTransformer::ScanNormalUnicodeText_F(PRBool aForLineBreak,
firstChar = ' ';
*aWasTransformed = PR_TRUE;
}
mTransformBuf.GrowTo(mBufferPos+1);
mTransformBuf.mBuffer[mBufferPos++] = firstChar;
if (!breakBetween) {
@ -495,17 +493,6 @@ nsTextTransformer::ScanNormalUnicodeText_F(PRBool aForLineBreak,
firstChar = ' ';
*aWasTransformed = PR_TRUE;
}
nsresult rv = mTransformBuf.GrowTo(mBufferPos + 1);
if (NS_FAILED(rv)) {
*aWordLen = 0;
return offset - 1;
}
nsresult rv = mTransformBuf.GrowTo(mBufferPos + 1);
if (NS_FAILED(rv)) {
*aWordLen = 0;
return offset - 1;
}
mTransformBuf.mBuffer[mBufferPos++] = firstChar;
}

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

@ -438,8 +438,6 @@ nsTextTransformer::ScanNormalUnicodeText_F(PRBool aForLineBreak,
firstChar = ' ';
*aWasTransformed = PR_TRUE;
}
mTransformBuf.GrowTo(mBufferPos+1);
mTransformBuf.mBuffer[mBufferPos++] = firstChar;
if (!breakBetween) {
@ -495,17 +493,6 @@ nsTextTransformer::ScanNormalUnicodeText_F(PRBool aForLineBreak,
firstChar = ' ';
*aWasTransformed = PR_TRUE;
}
nsresult rv = mTransformBuf.GrowTo(mBufferPos + 1);
if (NS_FAILED(rv)) {
*aWordLen = 0;
return offset - 1;
}
nsresult rv = mTransformBuf.GrowTo(mBufferPos + 1);
if (NS_FAILED(rv)) {
*aWordLen = 0;
return offset - 1;
}
mTransformBuf.mBuffer[mBufferPos++] = firstChar;
}