diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-26 10:38:15 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-26 10:38:15 +0100 |
commit | fcb8fd3ba59210dd3f51f8ee164a8549e751032d (patch) | |
tree | 45b40d807d524127bd9f410478ded435b37d3c60 /svl/source | |
parent | fe58c1ad8a925b1f5ed4be033c8858f5c268da8c (diff) |
Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 2 | ||||
-rw-r--r-- | svl/source/passwordcontainer/passwordcontainer.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 461fac7066ac..264128538947 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -4231,7 +4231,7 @@ void lcl_SvNumberformat_AddLimitStringImpl( String& rStr, rStr.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "[>=" ) ); break; default: - OSL_ASSERT( "unsupported number format" ); + OSL_FAIL( "unsupported number format" ); break; } rStr += String( ::rtl::math::doubleToUString( fLimit, 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; } |