summaryrefslogtreecommitdiff
path: root/extensions/workben/pythontest.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
committerMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
commita7e564b4836154b84d67814486123eab6cb639c2 (patch)
treedd2acabfabf9b8fa8052e9406c5d51ec14a9b9da /extensions/workben/pythontest.cxx
parent87b38cb17d0443b890befe17043698841175d285 (diff)
#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible
Diffstat (limited to 'extensions/workben/pythontest.cxx')
-rw-r--r--extensions/workben/pythontest.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/extensions/workben/pythontest.cxx b/extensions/workben/pythontest.cxx
index 5e2efff66f26..796884dff8aa 100644
--- a/extensions/workben/pythontest.cxx
+++ b/extensions/workben/pythontest.cxx
@@ -45,10 +45,6 @@
#include <usr/weak.hxx>
#include <tools/string.hxx>
#include <vos/conditn.hxx>
-#if OSL_DEBUG_LEVEL == 0
-#define NDEBUG
-#endif
-#include <assert.h>
using namespace rtl;
using namespace vos;
@@ -453,7 +449,7 @@ void CmdDebugger::dumpVarToStream( const char *pc , const UsrAny &aValue, FILE *
void CmdDebugger::detach()
{
- assert( m_pDebuggingRef );
+ OSL_ASSERT( m_pDebuggingRef );
m_bIsRunning = FALSE;
m_pDebuggingRef = 0;