diff options
author | Michaël Lefèvre <lefevre00@yahoo.fr> | 2014-03-31 21:32:47 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-04-05 03:47:34 -0500 |
commit | 22ab56f5e35dff58e1923b693dc33ff252293557 (patch) | |
tree | 8356adc53ab669db2b36227512bc82375ea15e4b /include/osl | |
parent | Fix Windows build(external/coinmp) (diff) | |
download | core-22ab56f5e35dff58e1923b693dc33ff252293557.tar.gz core-22ab56f5e35dff58e1923b693dc33ff252293557.zip |
fdo#43157 : clean up OSL_DEBUG_ONLY
Change-Id: Ic92b64cfaec41bf4104cede5f26579d86543b9a8
Reviewed-on: https://gerrit.libreoffice.org/8804
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'include/osl')
-rw-r--r-- | include/osl/diagnose.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/osl/diagnose.h b/include/osl/diagnose.h index b0f7bada2f29..4137d21c6c5b 100644 --- a/include/osl/diagnose.h +++ b/include/osl/diagnose.h @@ -95,8 +95,6 @@ */ #define OSL_LOG_PREFIX SAL_DETAIL_WHERE -#define OSL_DEBUG_ONLY(s) _OSL_DEBUG_ONLY(s) - #define OSL_TRACE(...) \ SAL_DETAIL_INFO_IF_FORMAT(OSL_DEBUG_LEVEL > 0, "legacy.osl", __VA_ARGS__) @@ -122,16 +120,6 @@ #define _OSL_GLOBAL #endif /* __cplusplus */ -#if OSL_DEBUG_LEVEL > 0 - -#define _OSL_DEBUG_ONLY(f) (f) - -#else - -#define _OSL_DEBUG_ONLY(f) ((void)0) - -#endif /* OSL_DEBUG_LEVEL */ - /* the macro OSL_THIS_FUNC is intended to be an office internal macro for now */ /* copied from boost/current_function.hpp to make it usable from C * sources as well |