diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-03 14:01:30 +0200 |
---|---|---|
committer | Tomas Chvatal <tchvatal@suse.cz> | 2012-04-04 14:53:35 +0200 |
commit | 0c1b92a79929fe2b25dc3a95cf94413a713d99db (patch) | |
tree | cb55921b55febc2cab36918e82ab45d6f2d00196 | |
parent | fix crude command line arguments handling (diff) | |
download | core-0c1b92a79929fe2b25dc3a95cf94413a713d99db.tar.gz core-0c1b92a79929fe2b25dc3a95cf94413a713d99db.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.
Signed-off-by: Tomas Chvatal <tchvatal@suse.cz>
-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 637c3789002c..4deb7af6351c 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); |