summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Lefèvre <lefevre00@yahoo.fr>2014-04-07 15:33:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-25 09:57:19 +0000
commitfe075edc27a1fc301c31cfdff5ddbc83e52d929f (patch)
tree42469f0b091b99100aaabe37d4c1d2452ee0b26e
parent838d749ceb152de40d03538a0448bf709264ccdb (diff)
fdo#43157 : [API CHANGE] Remove OSL_THIS_FILE
Change-Id: Ifa6bdb2f2bdf96826f09c42a1e36d97ed6e034cd Reviewed-on: https://gerrit.libreoffice.org/8886 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--include/osl/diagnose.h2
-rw-r--r--registry/test/regdiagnose.h2
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 \