summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-04-03 14:01:30 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-03 14:06:12 +0200
commitc813c009479db3fab58fc48740ab8f80ceb93a26 (patch)
tree5add6f981182c381b93214b669ef5332e58b0e93 /sal
parentstoc: add helpful structural documentation from mailing list post. (diff)
downloadcore-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.cxx3
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);