assign_with_QueryInterface(aSmartPtr.mRawPtr, T::IID(), aSmartPtr.mErrorPtr);
if ( mRawPtr ) NSCAP_ADDREF(mRawPtr);
      nsCOMPtr( const nsQueryInterface& aSmartPtr )          // : nsCOMPtr_base(0)        {          assign_with_QueryInterface(aSmartPtr.mRawPtr, T::IID(), aSmartPtr.mErrorPtr);        }