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/ConnectionLine.cxx | |
parent | fc82a458b39dcd3ec5801c31c44fc8d48f5dc0f4 (diff) |
replaced DGB_ASSERT with OSL_ENSURE
Diffstat (limited to 'dbaccess/source/ui/querydesign/ConnectionLine.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/ConnectionLine.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/ConnectionLine.cxx b/dbaccess/source/ui/querydesign/ConnectionLine.cxx index 4c119ca15c78..7e44ea1c256f 100644 --- a/dbaccess/source/ui/querydesign/ConnectionLine.cxx +++ b/dbaccess/source/ui/querydesign/ConnectionLine.cxx @@ -37,7 +37,7 @@ #ifndef _INC_MATH #include <math.h> #endif -#include <tools/debug.hxx> +#include <osl/diagnose.h> #include <vcl/lineinfo.hxx> @@ -64,7 +64,7 @@ namespace Rectangle GetTextPos(const OTableWindow* _pWin, const Point& _aConnPos,const Point& _aDescrLinePos) { OTableWindowListBox* pListBox = _pWin ? _pWin->GetListBox() : NULL; - DBG_ASSERT(_pWin && pListBox, "OConnectionLine::GetSourceTextPos : invalid call !"); + OSL_ENSURE(_pWin && pListBox, "OConnectionLine::GetSourceTextPos : invalid call !"); Rectangle aReturn; if ( pListBox ) |