summaryrefslogtreecommitdiff
path: root/framework/source/jobs
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:42:00 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:17 +0200
commitf1639b21507c04a4dfe152776224370eef7088df (patch)
tree3af09804b72f4122b5ad6a75ab225cc2cca4a499 /framework/source/jobs
parent0f2a9bb2139becbf353db792b22c13a5ded25a6a (diff)
loplugin: defaultparams
Change-Id: I44772f7c26568353d02278486a8e960f40af6354
Diffstat (limited to 'framework/source/jobs')
-rw-r--r--framework/source/jobs/joburl.cxx4
1 files changed, 2 insertions, 2 deletions
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);