summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/brwctrlr.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/browser/brwctrlr.cxx
parentd51e84aa6d2c0976d2b10747bb39e97acc286253 (diff)
Move DBG_ERROR -> OSL_ASSERT
Diffstat (limited to 'dbaccess/source/ui/browser/brwctrlr.cxx')
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 4ca74ddcaabb..e96fc00a308e 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -134,7 +134,7 @@ using namespace ::svt;
DBG_UNHANDLED_EXCEPTION(); \
} \
-#define DO_SAFE( action, message ) try { action; } catch(Exception&) { DBG_ERROR(message); } ;
+#define DO_SAFE( action, message ) try { action; } catch(Exception&) { OSL_ASSERT(message); } ;
//..................................................................
namespace dbaui
@@ -851,7 +851,7 @@ sal_Bool SbaXDataBrowserController::Construct(Window* pParent)
}
catch(Exception&)
{
- DBG_ERROR("SbaXDataBrowserController::Construct : the construction of UnoDataBrowserView failed !");
+ OSL_ASSERT("SbaXDataBrowserController::Construct : the construction of UnoDataBrowserView failed !");
}
if (!bSuccess)
@@ -1437,7 +1437,7 @@ sal_Bool SbaXDataBrowserController::approveParameter(const ::com::sun::star::for
if (aEvent.Source != getRowSet())
{
// not my data source -> allow anything
- DBG_ERROR("SbaXDataBrowserController::approveParameter : invalid event source !");
+ OSL_ASSERT("SbaXDataBrowserController::approveParameter : invalid event source !");
return sal_True;
}
@@ -1475,7 +1475,7 @@ sal_Bool SbaXDataBrowserController::approveParameter(const ::com::sun::star::for
Sequence< PropertyValue > aFinalValues = pParamValues->getValues();
if (aFinalValues.getLength() != aRequest.Parameters->getCount())
{
- DBG_ERROR("SbaXDataBrowserController::approveParameter: the InteractionHandler returned nonsense!");
+ OSL_ASSERT("SbaXDataBrowserController::approveParameter: the InteractionHandler returned nonsense!");
setLoadingCancelled();
return sal_False;
}
@@ -1495,7 +1495,7 @@ sal_Bool SbaXDataBrowserController::approveParameter(const ::com::sun::star::for
try { xParam->setPropertyValue(PROPERTY_VALUE, pFinalValues->Value); }
catch(Exception&)
{
- DBG_ERROR("SbaXDataBrowserController::approveParameter: setting one of the properties failed!");
+ OSL_ASSERT("SbaXDataBrowserController::approveParameter: setting one of the properties failed!");
}
}
}
@@ -2356,7 +2356,7 @@ sal_Bool SbaXDataBrowserController::SaveModified(sal_Bool bAskFor)
}
catch(Exception&)
{
- DBG_ERROR("SbaXDataBrowserController::SaveModified : could not save the current record !");
+ OSL_ASSERT("SbaXDataBrowserController::SaveModified : could not save the current record !");
bResult = sal_False;
}
@@ -2886,7 +2886,7 @@ void SAL_CALL LoadFormHelper::loaded(const ::com::sun::star::lang::EventObject&
void SAL_CALL LoadFormHelper::unloaded(const ::com::sun::star::lang::EventObject& /*aEvent*/) throw( RuntimeException )
{
::osl::MutexGuard aGuard(m_aAccessSafety);
- DBG_ERROR("LoadFormHelper::unloaded : shouldn't be called !");
+ OSL_ASSERT("LoadFormHelper::unloaded : shouldn't be called !");
implDispose();
}