summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:12:37 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:12:37 +0100
commit5a7f6793ac227c348198ae5958db5951214ec8d2 (patch)
tree25610ad164b4f66d705aecf6ea6c3ee72809c7e3 /sal
parent1fa55878d9a8e0ce48501ad82fb537dc9c29855a (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/os2/file.cxx2
-rw-r--r--sal/test/unloading/samplelib1.cxx2
-rw-r--r--sal/test/unloading/samplelib2.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/os2/file.cxx b/sal/osl/os2/file.cxx
index 4a67b10fea23..464e65a03d0e 100644
--- a/sal/osl/os2/file.cxx
+++ b/sal/osl/os2/file.cxx
@@ -1948,7 +1948,7 @@ oslFileError SAL_CALL osl_createDirectoryPath(
oslFileError osl_getCanonicalName( rtl_uString* ustrFileURL, rtl_uString** pustrValidURL )
{
- OSL_ENSURE(sal_False, "osl_getCanonicalName not implemented");
+ OSL_FAIL("osl_getCanonicalName not implemented");
rtl_uString_newFromString(pustrValidURL, ustrFileURL);
return osl_File_E_None;
diff --git a/sal/test/unloading/samplelib1.cxx b/sal/test/unloading/samplelib1.cxx
index 5199e25a6078..a0557906f3dc 100644
--- a/sal/test/unloading/samplelib1.cxx
+++ b/sal/test/unloading/samplelib1.cxx
@@ -172,7 +172,7 @@ extern "C" {
}
catch (InvalidRegistryException &)
{
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
+ OSL_FAIL( "### InvalidRegistryException!" );
}
}
return sal_False;
diff --git a/sal/test/unloading/samplelib2.cxx b/sal/test/unloading/samplelib2.cxx
index 621dace1db20..348e2619646c 100644
--- a/sal/test/unloading/samplelib2.cxx
+++ b/sal/test/unloading/samplelib2.cxx
@@ -157,7 +157,7 @@ extern "C" {
}
catch (InvalidRegistryException &)
{
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
+ OSL_FAIL( "### InvalidRegistryException!" );
}
}
return sal_False;