summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/app/AppController.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/app/AppController.cxx
parentfix debug build (diff)
downloadcore-91697b75c337dcab54d56efb6e24701147900676.tar.gz
core-91697b75c337dcab54d56efb6e24701147900676.zip
fix assertions
Diffstat (limited to 'dbaccess/source/ui/app/AppController.cxx')
-rw-r--r--dbaccess/source/ui/app/AppController.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index aec064898d3f..639d74115353 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -473,7 +473,7 @@ sal_Bool OApplicationController::Construct(Window* _pParent)
}
catch(Exception&)
{
- OSL_ASSERT("OApplicationController::Construct : the construction of UnoDataBrowserView failed !");
+ OSL_FAIL("OApplicationController::Construct : the construction of UnoDataBrowserView failed !");
}
if ( !bSuccess )
@@ -2514,7 +2514,7 @@ sal_Int8 OApplicationController::executeDrop( const ExecuteDropEvent& _rEvt )
OApplicationView* pView = getContainer();
if ( !pView || pView->getElementType() == E_NONE )
{
- OSL_ASSERT("OApplicationController::executeDrop: what the hell did queryDrop do?");
+ OSL_FAIL("OApplicationController::executeDrop: what the hell did queryDrop do?");
// queryDrop shoud not have allowed us to reach this situation ....
return DND_ACTION_NONE;
}
@@ -2715,7 +2715,7 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel >
Reference< XOfficeDatabaseDocument > xOfficeDoc( _rxModel, UNO_QUERY );
if ( !xOfficeDoc.is() && _rxModel.is() )
{
- OSL_ASSERT( "OApplicationController::attachModel: invalid model!" );
+ OSL_FAIL( "OApplicationController::attachModel: invalid model!" );
return sal_False;
}