summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-25 12:14:09 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-25 13:45:40 +0200
commitfa63fe59a14d3d39c87517ceef9a7fc5c4e7261c (patch)
tree328c019c7ebb27ba2e7e16f521fb96db1bd7eeec /lotuswordpro
parent4384ee727ce00db931e6d23d526c467b0491941c (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 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwppara1.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx
index a8b4e7a70b5b..8c015fc8b797 100644
--- a/lotuswordpro/source/filter/lwppara1.cxx
+++ b/lotuswordpro/source/filter/lwppara1.cxx
@@ -102,13 +102,7 @@
#include "lwpcelllayout.hxx"
// boost::polymorphic_downcast checks and reports (using assert), if the
-// cast is incorrect. We want this in debug builds.
-#if OSL_DEBUG_LEVEL > 0
-# undef NDEBUG
-#elif !defined(NDEBUG)
-# define NDEBUG 1
-#endif
-
+// cast is incorrect (in debug builds).
using boost::polymorphic_downcast;
/**