summaryrefslogtreecommitdiff
path: root/svl/source/passwordcontainer
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-26 10:38:15 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-26 10:38:15 +0100
commitfcb8fd3ba59210dd3f51f8ee164a8549e751032d (patch)
tree45b40d807d524127bd9f410478ded435b37d3c60 /svl/source/passwordcontainer
parentfe58c1ad8a925b1f5ed4be033c8858f5c268da8c (diff)
Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)
Diffstat (limited to 'svl/source/passwordcontainer')
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index 50952b16425e..7884ba5e6bb4 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -392,7 +392,7 @@ void StorageItem::update( const ::rtl::OUString& aURL, const NamePassRecord& aRe
{
if ( !aRecord.HasPasswords( PERSISTENT_RECORD ) )
{
- OSL_ASSERT( "Unexpected storing of a record!" );
+ OSL_FAIL( "Unexpected storing of a record!" );
return;
}
@@ -723,7 +723,7 @@ void PasswordContainer::PrivateAdd( const ::rtl::OUString& Url, const ::rtl::OUS
aRecord.SetMemPasswords( aStorePass );
else
{
- OSL_ASSERT( "Unexpected persistence status!" );
+ OSL_FAIL( "Unexpected persistence status!" );
return;
}