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

Eike Rathke erack at redhat.com
Wed Oct 8 05:14:48 PDT 2014


 i18npool/source/calendar/calendar_gregorian.cxx |    2 +-
 i18npool/source/calendar/calendar_hijri.cxx     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit dbb5345b16ea0c959a91e261ab3b510e08a7bd21
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Oct 8 14:12:54 2014 +0200

    back out wrong and confusing tools::Time comment change
    
    Apparently fc04f76336fdf8c96e35382cdeb497e2f939705c used some sed script
    to change all ...
    
    Change-Id: I0a8171aa474070bb1a8584e5c8c714fe34694618

diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx
index c09432d..ee90844 100644
--- a/i18npool/source/calendar/calendar_gregorian.cxx
+++ b/i18npool/source/calendar/calendar_gregorian.cxx
@@ -646,7 +646,7 @@ void Calendar_gregorian::setValue() throw(RuntimeException)
             DUMP_ICU_CAL_MSG(("%s\n","setValue() after Zone/DST glitch resubmit"));
             DUMP_I18N_CAL_MSG(("%s\n","setValue() after Zone/DST glitch resubmit"));
 
-            // tools::Time zone transition => resubmit.
+            // Time zone transition => resubmit.
             // TZ=America/St_Johns date <= 1935-03-30
             //      -3:30:52 (!) instead of -3:30
             //      if first submission included time zone -3:30 that would be wrong.
diff --git a/i18npool/source/calendar/calendar_hijri.cxx b/i18npool/source/calendar/calendar_hijri.cxx
index b1381d8..a020041 100644
--- a/i18npool/source/calendar/calendar_hijri.cxx
+++ b/i18npool/source/calendar/calendar_hijri.cxx
@@ -115,7 +115,7 @@ Calendar_hijri::NewMoon(sal_Int32 n)
 {
     double jd, t, t2, t3, k, ma, sa, tf, xtra;
     k = n;
-    t = k/1236.85;  // tools::Time in Julian centuries from 1900 January 0.5
+    t = k/1236.85;  // Time in Julian centuries from 1900 January 0.5
     t2 = t * t;
     t3 = t2 * t;
 
@@ -160,7 +160,7 @@ Calendar_hijri::NewMoon(sal_Int32 n)
         + 0.0010 * sin(tf - ma)
         + 0.0005 * sin(sa + 2 * ma);
 
-    // convert from Ephemeris tools::Time (ET) to (approximate) Universal tools::Time (UT)
+    // convert from Ephemeris Time (ET) to (approximate) Universal Time (UT)
     jd += xtra - (0.41 + 1.2053 * t + 0.4992 * t2)/1440;
 
     return (jd);


More information about the Libreoffice-commits mailing list