diff options
-rw-r--r-- | include/osl/diagnose.h | 2 | ||||
-rw-r--r-- | registry/test/regdiagnose.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/osl/diagnose.h b/include/osl/diagnose.h index e64160c3d894..fdae8cc8eba7 100644 --- a/include/osl/diagnose.h +++ b/include/osl/diagnose.h @@ -87,8 +87,6 @@ #define OSL_DEBUG_LEVEL 0 #endif -#define OSL_THIS_FILE __FILE__ - /* the macro OSL_LOG_PREFIX is intended to be an office internal macro for now it is deprecated and superseded by (C++ only) SAL_WHERE diff --git a/registry/test/regdiagnose.h b/registry/test/regdiagnose.h index 1ac6e92bb029..69aa1b1dd325 100644 --- a/registry/test/regdiagnose.h +++ b/registry/test/regdiagnose.h @@ -23,7 +23,7 @@ #include <osl/diagnose.h> -#define REG_ENSURE(c, m) _REG_ENSURE(c, OSL_THIS_FILE, __LINE__, m) +#define REG_ENSURE(c, m) _REG_ENSURE(c, __FILE__, __LINE__, m) #define _REG_ENSURE(c, f, l, m) \ do \ |