diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:27:45 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:43 +0100 |
commit | 1848de2f4cce84862cf0843e15f38ce5d1f26108 (patch) | |
tree | 38d3983e56f5d2c900c24750e0050556435cfd6b /xmlhelp | |
parent | e4d0bb122a93d243067814b9d43f9c9ab1e4df65 (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 8 | ||||
-rw-r--r-- | xmlhelp/source/treeview/tvread.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index 5c6b6fafcf08..e8a0ed79d38b 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -1789,7 +1789,7 @@ Db* DataBaseIterator::nextDb( rtl::OUString* o_pExtensionPath, rtl::OUString* o_ } case END_REACHED: - OSL_ENSURE( false, "DataBaseIterator::nextDb(): Invalid case END_REACHED" ); + OSL_FAIL( "DataBaseIterator::nextDb(): Invalid case END_REACHED" ); break; } } @@ -1915,7 +1915,7 @@ rtl::OUString KeyDataBaseFileIterator::nextDbFile( bool& o_rbExtension ) } case END_REACHED: - OSL_ENSURE( false, "DataBaseIterator::nextDbFile(): Invalid case END_REACHED" ); + OSL_FAIL( "DataBaseIterator::nextDbFile(): Invalid case END_REACHED" ); break; } } @@ -1989,7 +1989,7 @@ Reference< XHierarchicalNameAccess > JarFileIterator::nextJarFile } case END_REACHED: - OSL_ENSURE( false, "JarFileIterator::nextJarFile(): Invalid case END_REACHED" ); + OSL_FAIL( "JarFileIterator::nextJarFile(): Invalid case END_REACHED" ); break; } } @@ -2122,7 +2122,7 @@ rtl::OUString IndexFolderIterator::nextIndexFolder( bool& o_rbExtension, bool& o } case END_REACHED: - OSL_ENSURE( false, "IndexFolderIterator::nextIndexFolder(): Invalid case END_REACHED" ); + OSL_FAIL( "IndexFolderIterator::nextIndexFolder(): Invalid case END_REACHED" ); break; } } diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index 991e978862e1..6b74767acbed 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -1225,7 +1225,7 @@ rtl::OUString TreeFileIterator::nextTreeFile( sal_Int32& rnFileSize ) } case END_REACHED: - OSL_ENSURE( false, "DataBaseIterator::nextTreeFile(): Invalid case END_REACHED" ); + OSL_FAIL( "DataBaseIterator::nextTreeFile(): Invalid case END_REACHED" ); break; } } |