summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/app/AppController.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-24 18:26:34 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-24 18:26:34 +0100
commitac0811b10e05392e9308ad2616a72366c8e3fceb (patch)
treedd478629f31caf2217c2c83338445a93e330b259 /dbaccess/source/ui/app/AppController.cxx
parentMove DBG_ASSERT -> OSL_ENSURE (diff)
downloadcore-ac0811b10e05392e9308ad2616a72366c8e3fceb.tar.gz
core-ac0811b10e05392e9308ad2616a72366c8e3fceb.zip
Move DBG_ERROR -> OSL_ASSERT
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 3d88509ebdc2..aec064898d3f 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&)
{
- DBG_ERROR("OApplicationController::Construct : the construction of UnoDataBrowserView failed !");
+ OSL_ASSERT("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 )
{
- DBG_ERROR("OApplicationController::executeDrop: what the hell did queryDrop do?");
+ OSL_ASSERT("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() )
{
- DBG_ERROR( "OApplicationController::attachModel: invalid model!" );
+ OSL_ASSERT( "OApplicationController::attachModel: invalid model!" );
return sal_False;
}