summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-06 12:54:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-06 16:20:54 +0100
commitc6d03e72014d15825a47aab3c2a1bc73cbba2df8 (patch)
tree9a5942baeaf81fca2ea6de6480530dbc2b3d82cf /sal/rtl
parent7705a50ba330cd3fa08f5edfe6617d9acde8e8a5 (diff)
Some white-space clean-up
Change-Id: Ice25e13891865c2c7a223a3708d200272645140d
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/source/bootstrap.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx
index 7bdc82c04735..e4558536597c 100644
--- a/sal/rtl/source/bootstrap.cxx
+++ b/sal/rtl/source/bootstrap.cxx
@@ -291,14 +291,14 @@ Bootstrap_Impl::Bootstrap_Impl( OUString const & rIniName )
line.copy(nIndex+1).trim(), RTL_TEXTENCODING_UTF8 );
#if OSL_DEBUG_LEVEL > 1
- OString name_tmp = OUStringToOString(sName, RTL_TEXTENCODING_ASCII_US);
- OString value_tmp = OUStringToOString(sValue, RTL_TEXTENCODING_UTF8);
+ OString name_tmp = OUStringToOString(sName, RTL_TEXTENCODING_ASCII_US);
+ OString value_tmp = OUStringToOString(sValue, RTL_TEXTENCODING_UTF8);
OSL_TRACE(
"pushing: name=%s value=%s",
name_tmp.getStr(), value_tmp.getStr() );
#endif /* OSL_DEBUG_LEVEL > 1 */
- map_[sName] = sValue;
+ map_[sName] = sValue;
}
}
osl_closeFile(handle);
@@ -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;
}