[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Tue Oct 6 23:54:25 PDT 2015


 sc/source/core/tool/interpr2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2f2a1880c6dfe90ac51da2b1c9e4fd1bf0faa579
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 7 08:53:57 2015 +0200

    loplugin:defaultparams
    
    Change-Id: Ibeac9ac30e6841280036bb81ff7245f205b07b83

diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 95fd1aa..0c0001b 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() );
     }
 }
 


More information about the Libreoffice-commits mailing list