summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:07:48 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:07:48 +0100
commitec4883a4f4b9e64bf2594d362ca1831eaa740f42 (patch)
tree75a7bb92e63064ef6ef70fe5790cc8004c664d65
parentc8f106651f937132ba84e476d7a659a2f5719be8 (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
-rw-r--r--mysqlc/source/mysqlc_services.cxx2
-rw-r--r--sdext/source/minimizer/pppoptimizer.cxx4
-rw-r--r--sdext/source/minimizer/pppoptimizerdialog.cxx4
-rw-r--r--sdext/source/minimizer/pppoptimizeruno.cxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/mysqlc/source/mysqlc_services.cxx b/mysqlc/source/mysqlc_services.cxx
index 14ac02e..962dee1 100644
--- a/mysqlc/source/mysqlc_services.cxx
+++ b/mysqlc/source/mysqlc_services.cxx
@@ -134,7 +134,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(void * /*
return sal_True;
} catch (::com::sun::star::registry::InvalidRegistryException& ) {
- OSL_ENSURE(sal_False, "SKELETON::component_writeInfo : could not create a registry key ! ## InvalidRegistryException !");
+ OSL_FAIL("SKELETON::component_writeInfo : could not create a registry key ! ## InvalidRegistryException !");
}
}
return sal_False;
diff --git a/sdext/source/minimizer/pppoptimizer.cxx b/sdext/source/minimizer/pppoptimizer.cxx
index 9fbd523..5e45e0e 100644
--- a/sdext/source/minimizer/pppoptimizer.cxx
+++ b/sdext/source/minimizer/pppoptimizer.cxx
@@ -160,7 +160,7 @@ void SAL_CALL PPPOptimizer::addStatusListener( const Reference< XStatusListener
throw( RuntimeException )
{
// TODO
- OSL_ENSURE( sal_False, "PPPOptimizer::addStatusListener()\nNot implemented yet!" );
+ OSL_FAIL( "PPPOptimizer::addStatusListener()\nNot implemented yet!" );
}
//===============================================
@@ -168,7 +168,7 @@ void SAL_CALL PPPOptimizer::removeStatusListener( const Reference< XStatusListen
throw( RuntimeException )
{
// TODO
- OSL_ENSURE( sal_False, "PPPOptimizer::removeStatusListener()\nNot implemented yet!" );
+ OSL_FAIL( "PPPOptimizer::removeStatusListener()\nNot implemented yet!" );
}
// -----------------------------------------------------------------------------
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx
index 7154c54..a8e2241 100644
--- a/sdext/source/minimizer/pppoptimizerdialog.cxx
+++ b/sdext/source/minimizer/pppoptimizerdialog.cxx
@@ -181,7 +181,7 @@ void SAL_CALL PPPOptimizerDialog::addStatusListener( const Reference< XStatusLis
throw( RuntimeException )
{
// TODO
- // OSL_ENSURE( sal_False, "PPPOptimizerDialog::addStatusListener()\nNot implemented yet!" );
+ // OSL_FAIL( "PPPOptimizerDialog::addStatusListener()\nNot implemented yet!" );
}
//===============================================
@@ -189,7 +189,7 @@ void SAL_CALL PPPOptimizerDialog::removeStatusListener( const Reference< XStatus
throw( RuntimeException )
{
// TODO
- // OSL_ENSURE( sal_False, "PPPOptimizerDialog::removeStatusListener()\nNot implemented yet!" );
+ // OSL_FAIL( "PPPOptimizerDialog::removeStatusListener()\nNot implemented yet!" );
}
// -----------------------------------------------------------------------------
diff --git a/sdext/source/minimizer/pppoptimizeruno.cxx b/sdext/source/minimizer/pppoptimizeruno.cxx
index 83616d7..60c8ab3 100644
--- a/sdext/source/minimizer/pppoptimizeruno.cxx
+++ b/sdext/source/minimizer/pppoptimizeruno.cxx
@@ -79,7 +79,7 @@ extern "C"
}
catch (InvalidRegistryException &)
{
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
+ OSL_FAIL( "### InvalidRegistryException!" );
}
}
return sal_False;