diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
commit | 97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch) | |
tree | 7974a8b9423c56982646366b0859dfb2a1a88d50 /extensions/source/ole/unotypewrapper.cxx | |
parent | d0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff) |
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'extensions/source/ole/unotypewrapper.cxx')
-rw-r--r-- | extensions/source/ole/unotypewrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/ole/unotypewrapper.cxx b/extensions/source/ole/unotypewrapper.cxx index bf511432e81f..ef576a11aaa4 100644 --- a/extensions/source/ole/unotypewrapper.cxx +++ b/extensions/source/ole/unotypewrapper.cxx @@ -25,7 +25,7 @@ bool createUnoTypeWrapper(BSTR sTypeName, VARIANT * pVar) { bool ret = false; - assert(sTypeName && pVar); + OSL_ASSERT(sTypeName && pVar); CComObject< UnoTypeWrapper>* pObj; VariantClear(pVar); if( SUCCEEDED( CComObject<UnoTypeWrapper>::CreateInstance( &pObj))) @@ -35,7 +35,7 @@ bool createUnoTypeWrapper(BSTR sTypeName, VARIANT * pVar) pVar->pdispVal= CComQIPtr<IDispatch>(pObj->GetUnknown()); //now set the value, e.i. the name of the type CComQIPtr<IUnoTypeWrapper> spType(pVar->pdispVal); - assert(spType); + OSL_ASSERT(spType); if (SUCCEEDED(spType->put_Name(sTypeName))) { ret = true; |