mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
fix profile manager bustage for xlib widgets. this is not part of the build.
This commit is contained in:
parent
afcae1c632
commit
dc793ce800
@ -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;
|
||||
}
|
||||
|
||||
|
@ -53,6 +53,7 @@ public:
|
||||
virtual PRBool AutoErase();
|
||||
|
||||
protected:
|
||||
nsString mText;
|
||||
};
|
||||
|
||||
#endif // nsTextHelper_h__
|
||||
|
Loading…
Reference in New Issue
Block a user