Re: [PATCH 3/5] riched20: Implement ITextRange::GetDuplicate. (try 3)
17 Sep
2014
17 Sep
'14
3: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.
4106
Age (days ago)
4106
Last active (days ago)
0 comments
1 participants
participants (1)
-
Huw Davies