summaryrefslogtreecommitdiffstats
path: root/sal/rtl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-04 16:42:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-04 16:42:31 +0100
commitaf823deeeedc42de3ddf11be3518622e6acdbdd2 (patch)
tree9ba6a414c76c7132152f87564659fb6de275a430 /sal/rtl
parentwarning C4805: '!=' unsafe mix of type 'bool' and type 'sal_Bool' (diff)
downloadcore-af823deeeedc42de3ddf11be3518622e6acdbdd2.tar.gz
core-af823deeeedc42de3ddf11be3518622e6acdbdd2.zip
Use SAL_STRINGIFY
Change-Id: Ibdb7d143e02301fdd8d04cf1c59421dcd98dac2f
Diffstat (limited to 'sal/rtl')
-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;
}