Kaydet (Commit) 459cbc6c authored tarafından Thomas Arnhold's avatar Thomas Arnhold

Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)

üst 34f333cd
......@@ -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;
......
......@@ -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!" );
}
// -----------------------------------------------------------------------------
......
......@@ -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!" );
}
// -----------------------------------------------------------------------------
......
......@@ -79,7 +79,7 @@ extern "C"
}
catch (InvalidRegistryException &)
{
OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
OSL_FAIL( "### InvalidRegistryException!" );
}
}
return sal_False;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment