<div dir="ltr"><div class="gmail_extra"><br>2014-09-12 17:47 GMT+08:00 Huw Davies <<a href="mailto:huw@codeweavers.com">huw@codeweavers.com</a>>:<br>><br>> >     txtRge->ref = 1;<br>> >     IRichEditOle_AddRef(reOle);<br><br><div class="gmail_extra">I feel little perplexed here. We want ITextRange::XXX returns CO_E_RELEASED </div><div class="gmail_extra">when reOle and txtDoc were released. So we don't need AddRef(reOle) here?</div><div class="gmail_extra">And then we can just pass a RichEditOleImpl into CreateITextRange().</div><div><br></div><div>Thanks.</div>-- <br><div dir="ltr"><div>Regards,<br></div><div>Jactry Zeng</div><div><br></div></div>
</div></div>