From 8803b1faf59ab42a9d55fd88127201e5dbf01a36 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 12 Feb 2013 23:26:30 +0100 Subject: Return the real result of the test Change-Id: I05d4b62a32a44a7d174d7fa19f7814d45dab22b2 --- extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.cpp | 6 +++--- 1 file 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: */ -- cgit v1.2.3