r=mscott, a=brendan
OS/2 bringup - need casts for VisualAge
This commit is contained in:
mkaply%us.ibm.com 2000-06-26 20:39:19 +00:00
parent 16df7932fa
commit 904e0087ba

View File

@ -93,12 +93,12 @@ public:
const PRUnichar* notes, PRBool isMailList, nsAbAutoCompleteSession::MatchType type)
{
NS_INIT_REFCNT();
mNickName = nsCRT::strdup(nickName ? nickName : NS_LITERAL_STRING(""));
mUserName = nsCRT::strdup(userName ? userName : NS_LITERAL_STRING(""));
mEmailAddress = nsCRT::strdup(emailAddress ? emailAddress : NS_LITERAL_STRING(""));
mNotes = nsCRT::strdup(notes ? notes : NS_LITERAL_STRING(""));
mIsMailList = isMailList;
mType = type;
mNickName = nsCRT::strdup(nickName ? nickName : NS_STATIC_CAST(const PRUnichar*, NS_LITERAL_STRING("")));
mUserName = nsCRT::strdup(userName ? userName : NS_STATIC_CAST(const PRUnichar*, NS_LITERAL_STRING("")));
mEmailAddress = nsCRT::strdup(emailAddress ? emailAddress : NS_STATIC_CAST(const PRUnichar*, NS_LITERAL_STRING("")));
mNotes = nsCRT::strdup(notes ? notes : NS_STATIC_CAST(const PRUnichar*, NS_LITERAL_STRING("")));
mIsMailList = isMailList;
mType = type;
}
virtual ~nsAbAutoCompleteParam()