summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/rtl/source/bootstrap.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx
index 66571c627755..84d1b58b450b 100644
--- a/sal/rtl/source/bootstrap.cxx
+++ b/sal/rtl/source/bootstrap.cxx
@@ -50,11 +50,6 @@
#include <postmac.h>
#endif
-#define MY_STRING_(x) # x
-#define MY_STRING(x) MY_STRING_(x)
-
-//----------------------------------------------------------------------------
-
using osl::DirectoryItem;
using osl::FileStatus;
@@ -509,7 +504,8 @@ bool Bootstrap_Impl::getValue(
if (key == "_CPPU_ENV") {
rtl_uString_assign(
value,
- (rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(MY_STRING(CPPU_ENV))).
+ (rtl::OUString(
+ RTL_CONSTASCII_USTRINGPARAM(SAL_STRINGIFY(CPPU_ENV))).
pData));
return true;
}