b=95339 Check the aPrintOptions for null. Fixes embedding silent. r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101212 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1589,7 +1589,9 @@ NS_IMETHODIMP nsWebBrowser::Print(nsIDOMWindow *aDOMWindow,
|
||||
nsresult rv = NS_OK;
|
||||
nsCOMPtr<nsIDOMWindow> thisDOMWin;
|
||||
PRBool silent = PR_FALSE;
|
||||
aThePrintOptions->GetPrintSilent (&silent);
|
||||
if( aThePrintOptions != nsnull){
|
||||
aThePrintOptions->GetPrintSilent (&silent);
|
||||
}
|
||||
|
||||
|
||||
// XXX this next line may need to be changed
|
||||
|
||||
Reference in New Issue
Block a user