Kaydet (Commit) d30b8f93 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

use initializer list

Change-Id: Ie15b08a3bc08760d602f6b71ff30234aa4a03dca
üst f8c745d1
...@@ -1087,15 +1087,15 @@ Reference<XComponentContext> raise_uno_process( ...@@ -1087,15 +1087,15 @@ Reference<XComponentContext> raise_uno_process(
// javavm service uses unorc next to executable to retrieve deployed // javavm service uses unorc next to executable to retrieve deployed
// jar typelibs // jar typelibs
::std::vector<OUString> args; ::std::vector<OUString> args{
#if OSL_DEBUG_LEVEL == 0 #if OSL_DEBUG_LEVEL == 0
args.push_back( "--quiet" ); "--quiet",
#endif #endif
args.push_back( "--singleaccept" ); "--singleaccept",
args.push_back( "-u" ); "-u",
args.push_back( connectStr ); connectStr,
// don't inherit from unorc: // don't inherit from unorc:
args.push_back( "-env:INIFILENAME=" ); "-env:INIFILENAME=" };
//now add the bootstrap variables which were supplied on the command line //now add the bootstrap variables which were supplied on the command line
::std::vector<OUString> bootvars = getCmdBootstrapVariables(); ::std::vector<OUString> bootvars = getCmdBootstrapVariables();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment