diff options
-rw-r--r-- | extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.cpp b/extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.cpp index df61a049c827..b88fd6b7683d 100644 --- a/extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.cpp +++ b/extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.cpp @@ -60,14 +60,14 @@ STDMETHODIMP CSimple::get__implementedInterfaces(LPSAFEARRAY *pVal) hr= SafeArrayPutElement( pArr, & index, name1); index++; - hr= SafeArrayPutElement( pArr, &index, name2); + hr|= SafeArrayPutElement( pArr, &index, name2); index++; - hr= SafeArrayPutElement( pArr, &index, name3); + hr|= SafeArrayPutElement( pArr, &index, name3); *pVal= pArr; } *pVal= pArr; - return S_OK; + return hr; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |