diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:06:18 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:06:18 +0100 |
commit | 352f1a58e24c9c3ec45829111a77fa9fbd8065ab (patch) | |
tree | f4d3ec761af697a535fad86c5fec2e045c933d0e /forms/source/misc | |
parent | 00d5ba291e359368ee484a7c0c43281c22bd3df6 (diff) |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'forms/source/misc')
-rw-r--r-- | forms/source/misc/limitedformats.cxx | 8 | ||||
-rw-r--r-- | forms/source/misc/listenercontainers.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/misc/limitedformats.cxx b/forms/source/misc/limitedformats.cxx index a4707f03a25d..6066f8f522ce 100644 --- a/forms/source/misc/limitedformats.cxx +++ b/forms/source/misc/limitedformats.cxx @@ -81,7 +81,7 @@ namespace frm return s_aSystem; } - OSL_ENSURE(sal_False, "getLocale: invalid enum value!"); + OSL_FAIL("getLocale: invalid enum value!"); return s_aSystem; } @@ -135,7 +135,7 @@ namespace frm } } - OSL_ENSURE(sal_False, "lcl_getFormatTable: invalid id!"); + OSL_FAIL("lcl_getFormatTable: invalid id!"); return NULL; } @@ -199,7 +199,7 @@ namespace frm } catch(const Exception&) { - OSL_ENSURE(sal_False, "OLimitedFormats::ensureTableInitialized: adding the key to the formats collection failed!"); + OSL_FAIL("OLimitedFormats::ensureTableInitialized: adding the key to the formats collection failed!"); } #endif } @@ -243,7 +243,7 @@ namespace frm } catch(const Exception&) { - OSL_ENSURE(sal_False, "OLimitedFormats::setAggregateSet: invalid handle!"); + OSL_FAIL("OLimitedFormats::setAggregateSet: invalid handle!"); } } #endif diff --git a/forms/source/misc/listenercontainers.cxx b/forms/source/misc/listenercontainers.cxx index 56297368ff74..7e78c875df3b 100644 --- a/forms/source/misc/listenercontainers.cxx +++ b/forms/source/misc/listenercontainers.cxx @@ -60,7 +60,7 @@ namespace frm _rxListener->resetted( _rEvent ); break; default: - OSL_ENSURE( sal_False, "ResetListeners::implNotify: invalid notification type!" ); + OSL_FAIL( "ResetListeners::implNotify: invalid notification type!" ); } return true; } |