rv = cmdLineArgs->GetCmdLineValue("-height", &tempString);
rv = cmdLineArgs->GetCmdLineValue("-height", getter_Copies(tempString));
static nsresult Ensure1Window( nsICmdLineService* cmdLineArgs){	nsresult rv;	NS_WITH_SERVICE(nsIWindowMediator, windowMediator, kWindowMediatorCID, &rv);	nsCOMPtr<nsISimpleEnumerator> windowEnumerator;  if (NS_SUCCEEDED(windowMediator->GetEnumerator(nsnull, getter_AddRefs(windowEnumerator))))  {    PRBool more;	    windowEnumerator->HasMoreElements(&more);    if ( !more )    {      // No window exists so lets create a browser one      PRInt32 height  = NS_SIZETOCONTENT;      PRInt32 width  = NS_SIZETOCONTENT;				      // Get the value of -width option      char* tempString = NULL;      rv = cmdLineArgs->GetCmdLineValue("-width", &tempString);      if (NS_FAILED(rv))        return rv;      if (tempString)        PR_sscanf(tempString, "%d", &width);								      // Get the value of -height option      rv = cmdLineArgs->GetCmdLineValue("-height", &tempString);      if (NS_FAILED(rv))        return rv;      if (tempString)        PR_sscanf(tempString, "%d", &height);				      rv = OpenBrowserWindow(height, width);    }	}	return rv;}