summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/calc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-26 10:31:42 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-26 10:39:07 +0100
commitb0339463e0e6764f5c53cebdf2da73ccb16d6052 (patch)
treee964952462360d257f19a8fe4132a8fc1d742042 /connectivity/source/drivers/calc
parentd675923db0f97892d35144df5c41f65c42bdceae (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.cxx2
-rw-r--r--connectivity/source/drivers/calc/CTable.cxx2
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();
}