17 Sep
2014
17 Sep
'14
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.