diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-03 14:01:30 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-03 14:06:12 +0200 |
commit | c813c009479db3fab58fc48740ab8f80ceb93a26 (patch) | |
tree | 5add6f981182c381b93214b669ef5332e58b0e93 /sal | |
parent | stoc: add helpful structural documentation from mailing list post. (diff) | |
download | core-c813c009479db3fab58fc48740ab8f80ceb93a26.tar.gz core-c813c009479db3fab58fc48740ab8f80ceb93a26.zip |
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.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/security/osl_Security.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx index 92b9fe465ebe..1c4f02979e04 100644 --- a/sal/qa/osl/security/osl_Security.cxx +++ b/sal/qa/osl/security/osl_Security.cxx @@ -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); |