void Reset( nsIDocument *aNewDocument ) {  mDocument = nsDontQueryInterface<nsIDocument>( aNewDocument ); }
nsFindComponent::Context::Reset( nsIWebShell *aNewWebShell ) { if (!aNewWebShell) return NS_ERROR_INVALID_ARG;  mTargetWebShell = aNewWebShell; return NS_OK; }
        void Reset( nsIDocument *aNewDocument ) {            // Reconstruct nsITextServicesDocument?...            mDocument = nsDontQueryInterface<nsIDocument>( aNewDocument );        }