chart2/source/inc/macros.hxx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-)
New commits: commit ba9613715288f3907185133892d1dbbaa9e006a9 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed May 22 16:59:04 2013 +0200 Minor simplification Change-Id: I8425971ed81b4f13be5e295a5a5b9ef443b9a4db diff --git a/chart2/source/inc/macros.hxx b/chart2/source/inc/macros.hxx index 89a0e56..874a4dd 100644 --- a/chart2/source/inc/macros.hxx +++ b/chart2/source/inc/macros.hxx @@ -19,22 +19,17 @@ #ifndef CHART_MACROS_HXX #define CHART_MACROS_HXX +#include "sal/config.h" + #include <typeinfo> -/** shows an error-box for an exception ex - else-branch necessary to avoid warning -*/ -#if OSL_DEBUG_LEVEL > 0 +#include "sal/log.hxx" + #define ASSERT_EXCEPTION(ex) \ SAL_WARN("chart2", "Exception caught. Type: " <<\ typeid( ex ).name() << ", Message: " << \ ex.Message ) -#else -//avoid compilation warnings -#define ASSERT_EXCEPTION(ex) (void)(ex) -#endif -// CHART_MACROS_HXX #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits