if (mPrintListener) { if (!mOnStartSent) { mPrintListener->OnStartPrinting(); }
if (!mOnStartSent) { DoOnProgressChange(mPrintProgressListeners, 100, 100, PR_TRUE, nsIWebProgressListener::STATE_START|nsIWebProgressListener::STATE_IS_DOCUMENT);
void PrintData::OnStartPrinting(){  if (mPrintListener) {    if (!mOnStartSent) {      mPrintListener->OnStartPrinting();    }    mOnStartSent = PR_TRUE;  }}