From f1639b21507c04a4dfe152776224370eef7088df Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 11 Aug 2015 08:42:00 +0200 Subject: loplugin: defaultparams Change-Id: I44772f7c26568353d02278486a8e960f40af6354 --- framework/source/jobs/joburl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/source/jobs') diff --git a/framework/source/jobs/joburl.cxx b/framework/source/jobs/joburl.cxx index 0eb7d171939c..e8a0b87d86ef 100644 --- a/framework/source/jobs/joburl.cxx +++ b/framework/source/jobs/joburl.cxx @@ -228,7 +228,7 @@ bool JobURL::implst_split( /*IN*/ const OUString& sPart , /*OUT*/ OUString& rPartArguments ) { // first search for the given identifier - bool bPartFound = (sPart.matchIgnoreAsciiCaseAsciiL(pPartIdentifier,nPartLength,0)); + bool bPartFound = (sPart.matchIgnoreAsciiCaseAsciiL(pPartIdentifier,nPartLength)); // If it exist - we can split the part and return sal_True. // Otherwhise we do nothing and return sal_False. @@ -242,7 +242,7 @@ bool JobURL::implst_split( /*IN*/ const OUString& sPart , OUString sValue = sValueAndArguments; OUString sArguments; - sal_Int32 nArgStart = sValueAndArguments.indexOf('?',0); + sal_Int32 nArgStart = sValueAndArguments.indexOf('?'); if (nArgStart!=-1) { sValue = sValueAndArguments.copy(0,nArgStart); -- cgit