[PATCH 1/8] riched20: Stub for ITextRange interface and implement ITextDocument::Range. (resend try 4)

Jactry Zeng jactry92 at gmail.com
Fri Sep 12 05:31:01 CDT 2014


2014-09-12 17:47 GMT+08:00 Huw Davies <huw at codeweavers.com>:
>
> >     txtRge->ref = 1;
> >     IRichEditOle_AddRef(reOle);

I feel little perplexed here. We want ITextRange::XXX returns CO_E_RELEASED
when reOle and txtDoc were released. So we don't need AddRef(reOle) here?
And then we can just pass a RichEditOleImpl into CreateITextRange().

Thanks.
-- 
Regards,
Jactry Zeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140912/71a4d5c2/attachment-0001.html>


More information about the wine-devel mailing list