summaryrefslogtreecommitdiff
path: root/package/source/zippackage/zipfileaccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zippackage/zipfileaccess.cxx')
-rw-r--r--package/source/zippackage/zipfileaccess.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/source/zippackage/zipfileaccess.cxx b/package/source/zippackage/zipfileaccess.cxx
index cb5996aa3c8e..a75bed446335 100644
--- a/package/source/zippackage/zipfileaccess.cxx
+++ b/package/source/zippackage/zipfileaccess.cxx
@@ -103,7 +103,7 @@ uno::Sequence< ::rtl::OUString > OZipFileAccess::GetPatternsFromString_Impl( con
}
else
{
- OSL_ENSURE( sal_False, "The backslash is not guarded!\n" );
+ OSL_FAIL( "The backslash is not guarded!\n" );
aPattern[nInd] += ::rtl::OUString::valueOf( (sal_Unicode)'\\' );
}
}
@@ -281,7 +281,7 @@ uno::Sequence< ::rtl::OUString > SAL_CALL OZipFileAccess::getElementNames()
{
if ( aNames.getLength() < ++nLen )
{
- OSL_ENSURE( sal_False, "The size must be the same!\n" );
+ OSL_FAIL( "The size must be the same!\n" );
aNames.realloc( nLen );
}
@@ -290,7 +290,7 @@ uno::Sequence< ::rtl::OUString > SAL_CALL OZipFileAccess::getElementNames()
if ( aNames.getLength() != nLen )
{
- OSL_ENSURE( sal_False, "The size must be the same!\n" );
+ OSL_FAIL( "The size must be the same!\n" );
aNames.realloc( nLen );
}