fix profile manager bustage for xlib widgets. this is not part of the build.

This commit is contained in:
blizzard%redhat.com 1999-07-10 00:23:05 +00:00
parent afcae1c632
commit dc793ce800
2 changed files with 7 additions and 1 deletions

View File

@ -30,11 +30,16 @@ NS_METHOD nsTextHelper::SetMaxTextLength(PRUint32 aChars)
NS_METHOD nsTextHelper::GetText(nsString& aTextBuffer, PRUint32 aBufferSize, PRUint32& aActualSize)
{
aTextBuffer.SetLength(0);
aTextBuffer.Append(mText);
aActualSize = mText.Length();
return NS_OK;
}
NS_METHOD nsTextHelper::SetText(const nsString &aText, PRUint32& aActualSize)
{
aActualSize = aText.Length();
mText = aText;
return NS_OK;
}

View File

@ -53,6 +53,7 @@ public:
virtual PRBool AutoErase();
protected:
nsString mText;
};
#endif // nsTextHelper_h__