diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-26 10:31:42 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-26 10:39:07 +0100 |
commit | b0339463e0e6764f5c53cebdf2da73ccb16d6052 (patch) | |
tree | e964952462360d257f19a8fe4132a8fc1d742042 /connectivity/source/drivers/calc | |
parent | d675923db0f97892d35144df5c41f65c42bdceae (diff) |
Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)
Diffstat (limited to 'connectivity/source/drivers/calc')
-rw-r--r-- | connectivity/source/drivers/calc/CConnection.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/calc/CTable.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/calc/CConnection.cxx b/connectivity/source/drivers/calc/CConnection.cxx index 6b148ffeac98..4fdb00bd52cc 100644 --- a/connectivity/source/drivers/calc/CConnection.cxx +++ b/connectivity/source/drivers/calc/CConnection.cxx @@ -141,7 +141,7 @@ Reference< XSpreadsheetDocument> OCalcConnection::acquireDoc() ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.Desktop"))), UNO_QUERY ); if (!xDesktop.is()) { - OSL_ASSERT("no desktop"); + OSL_FAIL("no desktop"); throw SQLException(); } Reference< XComponent > xComponent; diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx index d6d3122862dd..9ef399a8f443 100644 --- a/connectivity/source/drivers/calc/CTable.cxx +++ b/connectivity/source/drivers/calc/CTable.cxx @@ -509,7 +509,7 @@ void OCalcTable::fillColumns() aTypeName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TIMESTAMP")); break; default: - OSL_ASSERT("missing type name"); + OSL_FAIL("missing type name"); aTypeName = ::rtl::OUString(); } |