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

Some white-space clean-up

Change-Id: Ice25e13891865c2c7a223a3708d200272645140d
üst 7705a50b
......@@ -473,24 +473,24 @@ bool Bootstrap_Impl::getValue(
if (override && getDirectValue(key, value, mode, requestStack)) {
return true;
}
if ( key == "_OS" ) {
if (key == "_OS") {
rtl_uString_assign(
value, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(RTL_OS)).pData);
return true;
}
if ( key == "_ARCH" ) {
if (key == "_ARCH") {
rtl_uString_assign(
value, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(RTL_ARCH)).pData);
return true;
}
if ( key == "_CPPU_ENV" ) {
if (key == "_CPPU_ENV") {
rtl_uString_assign(
value,
(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(MY_STRING(CPPU_ENV))).
pData));
return true;
}
if ( key == "ORIGIN" ) {
if (key == "ORIGIN") {
rtl_uString_assign(
value,
_iniName.copy(
......@@ -500,21 +500,21 @@ bool Bootstrap_Impl::getValue(
if (getAmbienceValue(key, value, mode, requestStack)) {
return true;
}
if ( key == "SYSUSERCONFIG" ) {
if (key == "SYSUSERCONFIG") {
rtl::OUString v;
bool b = osl::Security().getConfigDir(v);
EnsureNoFinalSlash(v);
rtl_uString_assign(value, v.pData);
return b;
}
if ( key == "SYSUSERHOME" ) {
if (key == "SYSUSERHOME") {
rtl::OUString v;
bool b = osl::Security().getHomeDir(v);
EnsureNoFinalSlash(v);
rtl_uString_assign(value, v.pData);
return b;
}
if ( key == "SYSBINDIR" ) {
if (key == "SYSBINDIR") {
getExecutableDirectory_Impl(value);
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