diff options
author | Eike Rathke <erack@redhat.com> | 2016-08-22 13:12:32 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-08-22 13:15:11 +0200 |
commit | db4574f0bc4cc919e784a9efbd3968bb78996e30 (patch) | |
tree | b0a847ebe454c4b5fd1b5d043a3a9c990dd693d3 /desktop | |
parent | 1b12aa58b918068623a08076a9d292ee23766cae (diff) |
clearly we want to match "-env:" only at arg start, not as substring anywhere
Change-Id: Id7238329118ac6f9ddf58b31c6477be002895307
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/component/dp_component.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 1036ab00846c..243f48a72f02 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -76,7 +76,7 @@ typedef ::std::vector< ::std::pair<OUString, OUString> > t_stringpairvec; { OUString arg; osl_getCommandArg(i, &arg.pData); - if (arg.match("-env:")) + if (arg.startsWith("-env:")) ret.push_back(arg); } return ret; |