diff options
Diffstat (limited to 'cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx')
-rw-r--r-- | cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx index dfafe2b181dc..8f46ce7a875a 100644 --- a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx +++ b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx @@ -146,7 +146,7 @@ void Mapping::mapInterface( uno_Interface * pUnoI, typelib_InterfaceTypeDescription * pTypeDescr) { - assert(ppOut && pTypeDescr); + OSL_ASSERT(ppOut && pTypeDescr); if (*ppOut) { (*ppOut)->release(*ppOut); @@ -160,7 +160,7 @@ void Mapping::mapInterface( // need to enter environment because of potential "queryInterface" call rtl_uString * pOId = nullptr; uno_Environment_invoke(m_from.get(), s_getIdentifier_v, m_from.get(), &pOId, pUnoI); - assert(pOId); + OSL_ASSERT(pOId); // try to get any known interface from target environment m_to.get()->pExtEnv->getRegisteredInterface(m_to.get()->pExtEnv, reinterpret_cast<void **>(ppOut), pOId, pTypeDescr); |