diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-02-20 01:42:29 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-02-23 18:01:59 +0100 |
commit | d30b8f9357e9eb505ebff133b24a3d1ce0bdd58f (patch) | |
tree | 3677f889344df2273fc0d35b4b7e312364968cb5 /desktop/source/deployment/registry/component | |
parent | f8c745d1c060312c03fa020e52acd1337b6e81d9 (diff) |
use initializer list
Change-Id: Ie15b08a3bc08760d602f6b71ff30234aa4a03dca
Diffstat (limited to 'desktop/source/deployment/registry/component')
-rw-r--r-- | desktop/source/deployment/registry/component/dp_component.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 5502e43f4114..b3ee90f38d41 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -1087,15 +1087,15 @@ Reference<XComponentContext> raise_uno_process( // javavm service uses unorc next to executable to retrieve deployed // jar typelibs - ::std::vector<OUString> args; + ::std::vector<OUString> args{ #if OSL_DEBUG_LEVEL == 0 - args.push_back( "--quiet" ); + "--quiet", #endif - args.push_back( "--singleaccept" ); - args.push_back( "-u" ); - args.push_back( connectStr ); - // don't inherit from unorc: - args.push_back( "-env:INIFILENAME=" ); + "--singleaccept", + "-u", + connectStr, + // don't inherit from unorc: + "-env:INIFILENAME=" }; //now add the bootstrap variables which were supplied on the command line ::std::vector<OUString> bootvars = getCmdBootstrapVariables(); |