diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:07:48 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:07:48 +0100 |
commit | 459cbc6cada544c9e50cf4f86dc821853f26deda (patch) | |
tree | 18ee0f3ae6e5e3a70ca808de42c4cb4925e9e7d5 /sdext | |
parent | FALSE is no longer defined (diff) | |
download | core-459cbc6cada544c9e50cf4f86dc821853f26deda.tar.gz core-459cbc6cada544c9e50cf4f86dc821853f26deda.zip |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/pppoptimizer.cxx | 4 | ||||
-rw-r--r-- | sdext/source/minimizer/pppoptimizerdialog.cxx | 4 | ||||
-rw-r--r-- | sdext/source/minimizer/pppoptimizeruno.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sdext/source/minimizer/pppoptimizer.cxx b/sdext/source/minimizer/pppoptimizer.cxx index 4fac633ca4dc..f49bfc551531 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 4a560f93ead2..a04015ab5be4 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 6ac0f7d22ab3..bb126e7ceb98 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; |