diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:51:35 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:54:59 +0100 |
commit | 64378f446e782b6636312a8c72a7400fd799c1a4 (patch) | |
tree | 25376336ad586c3804f16ebc05d62fb069bce74b /sw/source/ui/dbui/mmconfigitem.cxx | |
parent | 83d8300b31948702f3c11dc14d4070501b108084 (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'sw/source/ui/dbui/mmconfigitem.cxx')
-rw-r--r-- | sw/source/ui/dbui/mmconfigitem.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/mmconfigitem.cxx b/sw/source/ui/dbui/mmconfigitem.cxx index 74a9cc0602fe..70d64a85c4ba 100644 --- a/sw/source/ui/dbui/mmconfigitem.cxx +++ b/sw/source/ui/dbui/mmconfigitem.cxx @@ -445,7 +445,7 @@ void lcl_ConvertFromNumbers(OUString& rBlock, const ResStringArray& rHeaders) } else { - OSL_ENSURE(false, "parse error in address block or greeting line"); + OSL_FAIL("parse error in address block or greeting line"); } } else @@ -930,7 +930,7 @@ Reference< XResultSet> SwMailMergeConfigItem::GetResultSet() const } catch(Exception&) { - OSL_ENSURE(false, "exception caught in xResultSet->SetFilter()"); + OSL_FAIL("exception caught in xResultSet->SetFilter()"); } xRowSet->execute(); m_pImpl->xResultSet = xRowSet.get(); @@ -940,7 +940,7 @@ Reference< XResultSet> SwMailMergeConfigItem::GetResultSet() const } catch(Exception& ) { - OSL_ENSURE(false, "exception caught in: SwMailMergeConfigItem::GetResultSet() "); + OSL_FAIL("exception caught in: SwMailMergeConfigItem::GetResultSet() "); } } return m_pImpl->xResultSet; @@ -978,7 +978,7 @@ void SwMailMergeConfigItem::SetFilter(::rtl::OUString& rFilter) } catch(Exception&) { - OSL_ENSURE(false, "exception caught in SwMailMergeConfigItem::SetFilter()"); + OSL_FAIL("exception caught in SwMailMergeConfigItem::SetFilter()"); } } } |