summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:09:49 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:09:49 +0100
commit970be45287de1a046df1c546abb06ad5f6b9c084 (patch)
tree0a88a771e96b5e9d884e5b087adad9d320bdbe7b /basic
parente35cffb37a792b78f8dbcd85b329fa88097b1ea5 (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'basic')
-rwxr-xr-xbasic/source/uno/namecont.cxx6
-rwxr-xr-xbasic/source/uno/scriptcont.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index c61015d48422..4d5ab544e614 100755
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -1415,7 +1415,7 @@ void SfxLibraryContainer::implStoreLibrary( SfxLibrary* pLib,
}
catch( uno::Exception& )
{
- OSL_ENSURE( sal_False, "Problem during storing of library!\n" );
+ OSL_FAIL( "Problem during storing of library!\n" );
// TODO: error handling?
}
}
@@ -1558,7 +1558,7 @@ void SfxLibraryContainer::implStoreLibraryIndexFile( SfxLibrary* pLib,
}
catch( uno::Exception& )
{
- OSL_ENSURE( sal_False, "Problem during storing of library index file!\n" );
+ OSL_FAIL( "Problem during storing of library index file!\n" );
// TODO: error handling?
}
}
@@ -2080,7 +2080,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
}
catch( uno::Exception& )
{
- OSL_ENSURE( sal_False, "Problem during storing of libraries!\n" );
+ OSL_FAIL( "Problem during storing of libraries!\n" );
sal_uIntPtr nErrorCode = ERRCODE_IO_GENERAL;
ErrorHandler::HandleError( nErrorCode );
}
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index eacf1de91a9a..9238aed3d79f 100755
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -715,7 +715,7 @@ sal_Bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib,
}
catch( uno::Exception& )
{
- OSL_ENSURE( sal_False, "Problem on storing of password library!\n" );
+ OSL_FAIL( "Problem on storing of password library!\n" );
// TODO: error handling
}
}