Re: [PATCH 3/5] riched20: Implement ITextRange::GetDuplicate. (try 3)
Sept. 17, 2014
8:22 a.m.
On Tue, Sep 16, 2014 at 06:39:20PM +0800, Jactry Zeng wrote:
+ hres = CreateITextRange(This->reOle, This->start, This->end, ppRange); + if (FAILED(hres)) + return E_FAIL; + return hres;
Actually since CreateITextRange can only fail in out-of-memory cases we can't easily test this behaviour and there's no guarantee that the docs are correct anyway. So just return CreateITextRange(..) here would be cleaner. Huw.
4208
Age (days ago)
4208
Last active (days ago)
0 comments
1 participants
participants (1)
-
Huw Davies