summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-23 01:06:30 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-23 01:06:54 +0900
commit5394b379eba8f3522a80ee7e68708f8851a86d7d (patch)
treeae7fdef49795e03fd15f4bba2dd8bad3e022ae77 /sal
parent04d600d4be7c50db4b3b505039eb8bc96856f593 (diff)
removed unused temporary rtl::OUString
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/source/bootstrap.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx
index 1d3f05209add..98c983bd2b7a 100644
--- a/sal/rtl/source/bootstrap.cxx
+++ b/sal/rtl/source/bootstrap.cxx
@@ -195,11 +195,6 @@ CommandLineParameterMap::CommandLineParameterMap() {
static char const PREFIX[] = "-env:";
if (s.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(PREFIX))) {
sal_Int32 j = s.indexOf('=', RTL_CONSTASCII_LENGTH(PREFIX));
- rtl::OUString k(
- s.copy(
- RTL_CONSTASCII_LENGTH(PREFIX),
- ((j < 0 ? s.getLength() : j) -
- RTL_CONSTASCII_LENGTH(PREFIX))));
if (j < 0) {
map_.erase(s.copy(RTL_CONSTASCII_LENGTH(PREFIX)));
} else {