summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/dlg/queryfilter.cxx
diff options
context:
space:
mode:
authorKenneth Venken <kenneth.venken@gmail.com>2011-02-03 00:33:36 +0100
committerDavid Tardon <dtardon@redhat.com>2011-02-03 08:59:33 +0100
commit7ca07a15538f8c923e46b59125ef7acd30417302 (patch)
treea5cf37205e1604f6255d01b8cfb7e73807d06e0c /dbaccess/source/ui/dlg/queryfilter.cxx
parentcppcheck reduce scope of a variable (diff)
downloadcore-7ca07a15538f8c923e46b59125ef7acd30417302.tar.gz
core-7ca07a15538f8c923e46b59125ef7acd30417302.zip
replaced DGB_ASSERT with OSL_ENSURE
Diffstat (limited to 'dbaccess/source/ui/dlg/queryfilter.cxx')
-rw-r--r--dbaccess/source/ui/dlg/queryfilter.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx
index 98e54ca522f5..9107f34e3911 100644
--- a/dbaccess/source/ui/dlg/queryfilter.cxx
+++ b/dbaccess/source/ui/dlg/queryfilter.cxx
@@ -42,9 +42,8 @@
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
-#include <tools/debug.hxx>
-#include <tools/diagnose_ex.h>
#include <tools/diagnose_ex.h>
+#include <osl/diagnose.h>
#include "moduledbu.hxx"
#include <connectivity/sqliterator.hxx>
#include <connectivity/dbtools.hxx>
@@ -465,7 +464,7 @@ Reference< XPropertySet > DlgFilterCrit::getMatchingColumn( const Edit& _rValueI
//------------------------------------------------------------------------------
IMPL_LINK( DlgFilterCrit, PredicateLoseFocus, Edit*, _pField )
{
- DBG_ASSERT( _pField, "DlgFilterCrit::PredicateLoseFocus: invalid event source!" );
+ OSL_ENSURE( _pField, "DlgFilterCrit::PredicateLoseFocus: invalid event source!" );
if ( _pField )
{
// retrieve the field affected
@@ -754,7 +753,7 @@ IMPL_LINK( DlgFilterCrit, ListSelectHdl, ListBox *, pListBox )
}
else
{
- DBG_ASSERT(0,"DlgFilterCrit::ListSelectHdl: Diese Column d�rfte garnicht vorhanden sein!");
+ OSL_ENSURE(0,"DlgFilterCrit::ListSelectHdl: Diese Column d�rfte garnicht vorhanden sein!");
}
}
pComp->SelectEntryPos(0);