summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/rtl/bootstrap.cxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx
index 9c6675586ef9..3482017958c0 100644
--- a/sal/rtl/bootstrap.cxx
+++ b/sal/rtl/bootstrap.cxx
@@ -196,21 +196,7 @@ static bool getFromCommandLineArgs(
return tmp;
}();
- bool found = false;
-
- for(NameValueVector::iterator ii = nameValueVector.begin();
- ii != nameValueVector.end();
- ++ii)
- {
- if ((*ii).sName == key)
- {
- *value = (*ii).sValue;
- found = true;
- break;
- }
- }
-
- return found;
+ return find(nameValueVector, key, value);
}
static void getExecutableDirectory_Impl(rtl_uString ** ppDirURL)