summaryrefslogtreecommitdiff
path: root/extensions/test/sax/testwriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/test/sax/testwriter.cxx')
-rw-r--r--extensions/test/sax/testwriter.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/extensions/test/sax/testwriter.cxx b/extensions/test/sax/testwriter.cxx
index e27601c92d34..b4ab9d3f73ea 100644
--- a/extensions/test/sax/testwriter.cxx
+++ b/extensions/test/sax/testwriter.cxx
@@ -50,11 +50,6 @@
#include <usr/weak.hxx>
#include <tools/string.hxx>
-#if OSL_DEBUG_LEVEL == 0
-#define NDEBUG
-#endif
-#include <assert.h>
-
#include <usr/factoryhlp.hxx>
#include <usr/reflserv.hxx> // for EXTERN_SERVICE_CALLTYPE
@@ -401,7 +396,7 @@ void AttributeListImpl::clear()
vector<struct TagAttribute> dummy;
m_pImpl->vecAttribute.swap( dummy );
- assert( ! getLength() );
+ OSL_ASSERT( ! getLength() );
}