summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-07 08:53:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-07 08:53:57 +0200
commit2f2a1880c6dfe90ac51da2b1c9e4fd1bf0faa579 (patch)
treef2dd68857c013e2ace93a01f4ddd98799c3791bb /sc
parent9ed8ec510cfa6b386628b6e2674040079f363d83 (diff)
loplugin:defaultparams
Change-Id: Ibeac9ac30e6841280036bb81ff7245f205b07b83
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 95fd1aa9760b..0c0001b3d724 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -250,7 +250,7 @@ void ScInterpreter::ScGetIsoWeekOfYear()
{
Date aDate = *(pFormatter->GetNullDate());
aDate += (long)::rtl::math::approxFloor(GetDouble());
- PushInt( (int) aDate.GetWeekOfYear( MONDAY, 4 ) );
+ PushInt( (int) aDate.GetWeekOfYear() );
}
}