diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-26 10:30:34 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-26 10:42:19 +0100 |
commit | 167fd71b2e2225963a3d371ede147ebef02dbc40 (patch) | |
tree | b8e5325432fe07c95360d561b5574aa84111f54d /extensions/source/inc/componentmodule.cxx | |
parent | 7333df71a42d1f68d4706f8797ae28510cdd0766 (diff) |
Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)
Diffstat (limited to 'extensions/source/inc/componentmodule.cxx')
-rw-r--r-- | extensions/source/inc/componentmodule.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/inc/componentmodule.cxx b/extensions/source/inc/componentmodule.cxx index 6791fbe4f..55cc5aa50 100644 --- a/extensions/source/inc/componentmodule.cxx +++ b/extensions/source/inc/componentmodule.cxx @@ -203,7 +203,7 @@ namespace COMPMOD_NAMESPACE { if (!s_pImplementationNames) { - OSL_ASSERT("OModule::revokeComponent : have no class infos ! Are you sure called this method at the right time ?"); + OSL_FAIL("OModule::revokeComponent : have no class infos ! Are you sure called this method at the right time ?"); return; } OSL_ENSURE(s_pImplementationNames && s_pSupportedServices && s_pCreationFunctionPointers && s_pFactoryFunctionPointers, @@ -245,7 +245,7 @@ namespace COMPMOD_NAMESPACE if (!s_pImplementationNames) { - OSL_ASSERT("OModule::writeComponentInfos : have no class infos ! Are you sure called this method at the right time ?"); + OSL_FAIL("OModule::writeComponentInfos : have no class infos ! Are you sure called this method at the right time ?"); return sal_True; } OSL_ENSURE(s_pImplementationNames && s_pSupportedServices && s_pCreationFunctionPointers && s_pFactoryFunctionPointers, @@ -276,7 +276,7 @@ namespace COMPMOD_NAMESPACE } catch(Exception&) { - OSL_ASSERT("OModule::writeComponentInfos : something went wrong while creating the keys !"); + OSL_FAIL("OModule::writeComponentInfos : something went wrong while creating the keys !"); return sal_False; } } @@ -294,7 +294,7 @@ namespace COMPMOD_NAMESPACE if (!s_pImplementationNames) { - OSL_ASSERT("OModule::getComponentFactory : have no class infos ! Are you sure called this method at the right time ?"); + OSL_FAIL("OModule::getComponentFactory : have no class infos ! Are you sure called this method at the right time ?"); return NULL; } OSL_ENSURE(s_pImplementationNames && s_pSupportedServices && s_pCreationFunctionPointers && s_pFactoryFunctionPointers, |