diff options
author | David Tardon <dtardon@redhat.com> | 2011-02-25 17:47:41 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-25 17:47:41 +0100 |
commit | 91697b75c337dcab54d56efb6e24701147900676 (patch) | |
tree | f966cbebd749de514bc4c03d47d9bbf94a8402f3 /dbaccess/source/ui/app/AppController.cxx | |
parent | fix debug build (diff) | |
download | core-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.cxx | 6 |
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; } |