summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:11:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:11:09 +0100
commit3d874bdf409ca4a099853b30aeb9932e45c56f60 (patch)
tree3b88c39fa7cf3aa598a286534afc7de6f4ec98ab /comphelper/source/streaming
parent4edacef4f14f1992f8e0cbded5a86730c8353b4d (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'comphelper/source/streaming')
-rw-r--r--comphelper/source/streaming/otransactedfilestream.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/streaming/otransactedfilestream.cxx b/comphelper/source/streaming/otransactedfilestream.cxx
index bac4403fd6ad..9bcfac5fb66b 100644
--- a/comphelper/source/streaming/otransactedfilestream.cxx
+++ b/comphelper/source/streaming/otransactedfilestream.cxx
@@ -232,7 +232,7 @@ void OTruncatedTransactedFileStream::CloseAll_Impl()
xFileAccess->kill( aURL );
} catch( uno::Exception& )
{
- OSL_ENSURE( sal_False, "Could not remove the file!" );
+ OSL_FAIL( "Could not remove the file!" );
}
}
}
@@ -313,7 +313,7 @@ void OTruncatedTransactedFileStream::Commit_Impl()
}
catch( uno::Exception& )
{
- OSL_ENSURE( sal_False, "These calls are pretty simple, they should not fail!\n" );
+ OSL_FAIL( "These calls are pretty simple, they should not fail!\n" );
}
m_pStreamData->FreeOriginal();
@@ -537,7 +537,7 @@ void SAL_CALL OTruncatedTransactedFileStream::flush( )
if ( !m_pStreamData )
{
- OSL_ENSURE( sal_False, "flush() call on closed stream!\n" );
+ OSL_FAIL( "flush() call on closed stream!\n" );
return;
// in future throw exception, for now some code might call flush() on closed stream
// since file ucp implementation allows it