summaryrefslogtreecommitdiff
path: root/extensions/source/inc/componentmodule.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-26 10:30:34 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-26 10:42:19 +0100
commit167fd71b2e2225963a3d371ede147ebef02dbc40 (patch)
treeb8e5325432fe07c95360d561b5574aa84111f54d /extensions/source/inc/componentmodule.cxx
parent7333df71a42d1f68d4706f8797ae28510cdd0766 (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.cxx8
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,