m_messenger = aMessenger;
nsSaveAsListener::nsSaveAsListener(nsIFileSpec* aSpec){    NS_INIT_REFCNT();    if (aSpec)      m_fileSpec = do_QueryInterface(aSpec);    m_dataBuffer = nsnull;    // rhp: for charset handling    m_doCharsetConversion = PR_FALSE;    m_charset = "";    m_outputFormat = "";    m_msgBuffer = "";}