Commit 92ad2958 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ole: Remove some duplicated code.

parent fe57d732
......@@ -654,9 +654,6 @@ static HRESULT WINAPI DefaultHandler_GetUserClassID(
if (This->pOleDelegate)
return IOleObject_GetUserClassID(This->pOleDelegate, pClsid);
if (This->pOleDelegate)
return IOleObject_GetUserClassID(This->pOleDelegate, pClsid);
/* Sanity check. */
if (!pClsid)
return E_POINTER;
......@@ -868,9 +865,6 @@ static HRESULT WINAPI DefaultHandler_GetMiscStatus(
if (This->pOleDelegate)
return IOleObject_GetMiscStatus(This->pOleDelegate, dwAspect, pdwStatus);
if (This->pOleDelegate)
return IOleObject_GetMiscStatus(This->pOleDelegate, dwAspect, pdwStatus);
hres = OleRegGetMiscStatus(&This->clsid, dwAspect, pdwStatus);
if (FAILED(hres))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment