summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-08-22 13:12:32 +0200
committerEike Rathke <erack@redhat.com>2016-08-22 13:15:11 +0200
commitdb4574f0bc4cc919e784a9efbd3968bb78996e30 (patch)
treeb0a847ebe454c4b5fd1b5d043a3a9c990dd693d3 /desktop
parentTANGO: 32px icons for media insert and playback (diff)
downloadcore-db4574f0bc4cc919e784a9efbd3968bb78996e30.tar.gz
core-db4574f0bc4cc919e784a9efbd3968bb78996e30.zip
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.cxx2
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;