Kaydet (Commit) af823dee authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Use SAL_STRINGIFY

Change-Id: Ibdb7d143e02301fdd8d04cf1c59421dcd98dac2f
üst bde184dc
...@@ -50,11 +50,6 @@ ...@@ -50,11 +50,6 @@
#include <postmac.h> #include <postmac.h>
#endif #endif
#define MY_STRING_(x) # x
#define MY_STRING(x) MY_STRING_(x)
//----------------------------------------------------------------------------
using osl::DirectoryItem; using osl::DirectoryItem;
using osl::FileStatus; using osl::FileStatus;
...@@ -509,7 +504,8 @@ bool Bootstrap_Impl::getValue( ...@@ -509,7 +504,8 @@ bool Bootstrap_Impl::getValue(
if (key == "_CPPU_ENV") { if (key == "_CPPU_ENV") {
rtl_uString_assign( rtl_uString_assign(
value, value,
(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(MY_STRING(CPPU_ENV))). (rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(SAL_STRINGIFY(CPPU_ENV))).
pData)); pData));
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment