Kaydet (Commit) c813c009 authored tarafından Luboš Luňák's avatar Luboš Luňák

don't skip first cmdline argument

It looks like this one is also meant to be called manually or something,
and the original version didn't skip the first argument either.
üst 96823006
......@@ -637,8 +637,7 @@ void MyTestPlugInImpl::initialize( CPPUNIT_NS::TestFactoryRegistry *,
rtl::OUString args[ 3 ];
int argsCount = 0;
sal_uInt32 n = rtl_getAppCommandArgCount();
// skip first, that's the module name
for (sal_uInt32 i = 1; i < n; ++i)
for (sal_uInt32 i = 0; i < n; ++i)
{
rtl::OUString arg;
rtl_getAppCommandArg(i, &arg.pData);
......
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