~ubuntu-branches/ubuntu/karmic/openoffice.org-l10n/karmic

« back to all changes in this revision

Viewing changes to ooo-build/patches/lwp/cws-ooo11lotusfilter-lwp-filter.diff

  • Committer: Bazaar Package Importer
  • Author(s): Chris Cheney
  • Date: 2009-05-26 18:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090526180000-t5otxzhj1rru5ovt
Tags: 1:3.1.0-3ubuntu2
* Copy of the openoffice.org source.
  - debian/changelog: Change source name.
  - debian/control.in: Change source name.
  - debian/control: Regenerate control file.

* Correct path to splitgsi in convert2po.
* Disable gsi-export for Rosetta due to bug in localize.pl.
* Reenable building on sparc.
* Switch boost to 1.38.
* Resynchronise with ooo-build-3-1 (271b85e5ce6b601d75d0693b9c937d1eabd069dc).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2976
2976
diff -urNp lotuswordpro.bak/source/filter/localtime.cxx lotuswordpro/source/filter/localtime.cxx
2977
2977
--- lotuswordpro.bak/source/filter/localtime.cxx        1970-01-01 08:00:00.000000000 +0800
2978
2978
+++ lotuswordpro/source/filter/localtime.cxx    2008-10-22 12:00:18.000000000 +0800
2979
 
@@ -0,0 +1,189 @@
 
2979
@@ -0,0 +1,192 @@
2980
2980
+/*************************************************************************
2981
2981
+ *
2982
2982
+ *  The Contents of this file are made available subject to the terms of
3032
3032
+ *
3033
3033
+ ************************************************************************/
3034
3034
+#include "localtime.hxx"
 
3035
+#include <limits.h>
3035
3036
+#include <unicode/timezone.h>
3036
3037
+//End by 
3037
3038
+const long DAY_SEC =24 * 60 * 60;
3038
3039
+const long YEAR_SEC = 365 * DAY_SEC;
3039
3040
+const long FOURYEAR_SEC = 4 * YEAR_SEC + DAY_SEC;
 
3041
+#ifndef LONG_MAX
3040
3042
+const long LONG_MAX=2147483647;
 
3043
+#endif
3041
3044
+const long TIMEZONE = -28800;
3042
3045
+//01-01-70 was a Thursday
3043
3046
+const long BASE_DOW = 4;