adding |.get()| for the other half of |NS_LITERAL_STRING|

git-svn-id: svn://10.0.0.236/trunk@78964 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%mozilla.org
2000-09-13 03:44:58 +00:00
parent 7ebc69efce
commit 6dd3b2cf12
3 changed files with 6 additions and 0 deletions

View File

@@ -634,6 +634,8 @@ class NS_COM NS_ConvertASCIItoUCS2
NS_ConvertASCIItoUCS2( const char*, PRUint32 );
explicit NS_ConvertASCIItoUCS2( char );
const PRUnichar* get() const { return GetUnicode(); }
operator const PRUnichar*() const
{
return GetUnicode();