sal/qa/osl/security/osl_Security.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit c813c009479db3fab58fc48740ab8f80ceb93a26 Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Tue Apr 3 14:01:30 2012 +0200 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. diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx index 92b9fe4..1c4f029 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);
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits