diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-05-25 12:14:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-05-25 13:45:40 +0200 |
commit | fa63fe59a14d3d39c87517ceef9a7fc5c4e7261c (patch) | |
tree | 328c019c7ebb27ba2e7e16f521fb96db1bd7eeec /io | |
parent | 4384ee727ce00db931e6d23d526c467b0491941c (diff) |
remove (un-)definitions of NDEBUG from source files
The build system already defines NDEBUG only if OSL_DEBUG_LEVEL=0 AND
ASSERT_ALWAYS_ABORT=FALSE so the C++ code shouldn't override that.
Change-Id: Ie67a576646cc7e18c3ffac67a3c81b80747ea438
Diffstat (limited to 'io')
-rw-r--r-- | io/source/stm/streamhelper.hxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx index fd00bcc7e241..064d12bd1487 100644 --- a/io/source/stm/streamhelper.hxx +++ b/io/source/stm/streamhelper.hxx @@ -22,15 +22,6 @@ #include <com/sun/star/io/BufferSizeExceededException.hpp> -// Save NDEBUG state -#ifdef NDEBUG -#define STREAMHELPER_HXX_HAD_NDEBUG -#undef NDEBUG -#endif - -#if OSL_DEBUG_LEVEL == 0 -#define NDEBUG -#endif #include <assert.h> #define Max( a, b ) (((a)>(b)) ? (a) : (b) ) @@ -94,13 +85,6 @@ public: }; -// Restore NDEBUG state -#ifdef STREAMHELPER_HXX_HAD_NDEBUG -#define NDEBUG -#else -#undef NDEBUG -#endif - } #endif // INCLUDED_IO_SOURCE_STM_STREAMHELPER_HXX |