diff options
author | Kenneth Venken <kenneth.venken@gmail.com> | 2011-02-03 00:33:36 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-03 08:59:33 +0100 |
commit | 7ca07a15538f8c923e46b59125ef7acd30417302 (patch) | |
tree | a5cf37205e1604f6255d01b8cfb7e73807d06e0c /dbaccess/source/ui/querydesign/TableWindow.cxx | |
parent | cppcheck reduce scope of a variable (diff) | |
download | core-7ca07a15538f8c923e46b59125ef7acd30417302.tar.gz core-7ca07a15538f8c923e46b59125ef7acd30417302.zip |
replaced DGB_ASSERT with OSL_ENSURE
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindow.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx index 13c0797033ed..3f3134254322 100644 --- a/dbaccess/source/ui/querydesign/TableWindow.cxx +++ b/dbaccess/source/ui/querydesign/TableWindow.cxx @@ -34,8 +34,8 @@ #include "QueryDesignView.hxx" #include "TableWindowData.hxx" #include "imageprovider.hxx" -#include <tools/debug.hxx> #include <tools/diagnose_ex.h> +#include <osl/diagnose.h> #include <vcl/svapp.hxx> #include <vcl/wall.hxx> @@ -293,7 +293,7 @@ BOOL OTableWindow::Init() if ( !m_pListBox ) { m_pListBox = CreateListBox(); - DBG_ASSERT( m_pListBox != NULL, "OTableWindow::Init() : CreateListBox hat NULL geliefert !" ); + OSL_ENSURE( m_pListBox != NULL, "OTableWindow::Init() : CreateListBox hat NULL geliefert !" ); m_pListBox->SetSelectionMode( MULTIPLE_SELECTION ); } |