[Libreoffice-commits] .: lotuswordpro/source
David Tardon
dtardon at kemper.freedesktop.org
Sat Dec 25 01:45:10 PST 2010
lotuswordpro/source/filter/lwppara1.cxx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit a25abb3def0a80f6d9bf49dcc6a708b236f8c701
Author: David Tardon <dtardon at redhat.com>
Date: Sat Dec 25 10:44:54 2010 +0100
fix debugging condition
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx
index 279387a..957dbea 100644
--- a/lotuswordpro/source/filter/lwppara1.cxx
+++ b/lotuswordpro/source/filter/lwppara1.cxx
@@ -105,8 +105,11 @@
#include "lwptable.hxx"
#include "lwpcelllayout.hxx"
-// for the check in boost::polymorphic_downcast
-#if OSL_DEBUG_LEVEL > 0 && !defined(NDEBUG)
+// 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
More information about the Libreoffice-commits
mailing list