summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/sbagrid.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-02-25 17:47:41 +0100
committerDavid Tardon <dtardon@redhat.com>2011-02-25 17:47:41 +0100
commit91697b75c337dcab54d56efb6e24701147900676 (patch)
treef966cbebd749de514bc4c03d47d9bbf94a8402f3 /dbaccess/source/ui/browser/sbagrid.cxx
parent899053f93c31824c82d48ed051aa1886d5ac751f (diff)
fix assertions
Diffstat (limited to 'dbaccess/source/ui/browser/sbagrid.cxx')
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 66058ce54f68..9e39ac173874 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1289,7 +1289,7 @@ void SbaGridControl::DoColumnDrag(sal_uInt16 nColumnPos)
}
catch(Exception&)
{
- OSL_ASSERT("SbaGridControl::DoColumnDrag : something went wrong while getting the column");
+ OSL_FAIL("SbaGridControl::DoColumnDrag : something went wrong while getting the column");
}
if (0 == sField.getLength())
return;
@@ -1372,7 +1372,7 @@ void SbaGridControl::DoFieldDrag(sal_uInt16 nColumnPos, sal_Int16 nRowPos)
}
catch(Exception&)
{
- OSL_ASSERT("SbaGridControl::DoFieldDrag : could not retrieve the cell's contents !");
+ OSL_FAIL("SbaGridControl::DoFieldDrag : could not retrieve the cell's contents !");
return;
}