[PATCH] Simplified #define OSL_FILE_TRACE
Christina Rossmanith
ChrRossmanith at web.de
Fri May 13 12:36:25 PDT 2011
---
sal/osl/unx/file.cxx | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index 24f6311..6507d9c 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -59,13 +59,15 @@
#endif /* MACOSX */
#ifdef DEBUG_OSL_FILE
-# define OSL_FILE_TRACE 0 ? (void)(0) : osl_trace
+# define OSL_FILE_TRACE osl_trace
# define PERROR( a, b ) perror( a ); fprintf( stderr, b )
#else
-# define OSL_FILE_TRACE 1 ? (void)(0) : osl_trace
+# define OSL_FILE_TRACE(fmt, ...)
# define PERROR( a, b )
#endif
+
+
/*******************************************************************
*
* FileHandle_Impl interface
--
1.7.0.4
--------------060709070504070200060805--
More information about the LibreOffice
mailing list